Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

magit use hard-coded mount prefix #2324

Closed
wants to merge 1 commit into from
Closed

magit use hard-coded mount prefix #2324

wants to merge 1 commit into from

Conversation

PierreTechoueyres
Copy link

  • lisp/magit-git.el magit-cygwin-prefix magit-expand-git-file-name

Use magit-cygwin-prefix in magit-expand-git-file-name instead of hard-coded cygdrive prefix.
Use defcustom for magit-cygwin-prefix and add extra checks for default value.
Set return value to nil when the system isn't windows-nt.

Use `magit-cygwin-prefix' in `magit-expand-git-file-name' instead of hard-coded cygdrive prefix.
Use `defcustom' for `magit-cygwin-prefix' and add extra checks for default value.
Set value to nil when the system isn't windows-nt.
@npostavs
Copy link
Member

Can you update this to handle fancier mappings as shown in #2317 (comment)?

You'll need to parse the lines from mount and keep a list of Windows to Cygwin mappings, and then loop over the list in magit-expand-file-name.

@tarsius tarsius mentioned this pull request Oct 12, 2015
34 tasks
@tarsius tarsius modified the milestone: 2.3.0 Oct 13, 2015
@tarsius
Copy link
Member

tarsius commented Oct 15, 2015

@PierreTechoueyres do you intend to improve this pr very soon - or should we do it ourselves. This is one of the blockers for the next release.

@PierreTechoueyres
Copy link
Author

I'll try to do it a the end of the week. I'm little busy at work theses days.

@npostavs
Copy link
Member

@PierreTechoueyres did you find time to look at this? If not, I'll try to do it tonight.

@PierreTechoueyres
Copy link
Author

@npostavs No sorry.

@npostavs
Copy link
Member

It's okay, I hear "a life" can be very time consuming for those who have one ;)

@npostavs npostavs closed this Oct 18, 2015
@PierreTechoueyres PierreTechoueyres deleted the pte/fix-cygwin-mount branch October 21, 2015 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants