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

* lisp/magit-git.el magit-cygwin-prefix magit-expand-git-file-name #2319

Closed
wants to merge 1 commit into from
Closed

* lisp/magit-git.el magit-cygwin-prefix magit-expand-git-file-name #2319

wants to merge 1 commit into from

Conversation

PierreTechoueyres
Copy link

Use `magit-cygwin-prefix' in `magit-expand-git-file-name' instead of hard-coded cygdrive prefix.

See issue #2317 for complement.

Use `magit-cygwin-prefix' in `magit-expand-git-file-name' instead of
hard-coded cygdrive prefix.
@npostavs
Copy link
Member

npostavs commented Oct 6, 2015

I think we're in danger of reimplementing cygwin-mount.el.

http://emacswiki.org/emacs/cygwin-mount.el

@PierreTechoueyres
Copy link
Author

Yes but actually magit-expand-git-file-name doesn't work if the prefix is different of cygdrive ...

@npostavs
Copy link
Member

npostavs commented Oct 6, 2015

Yes but actually magit-expand-git-file-name doesn't work if the prefix is different of cygdrive ...

Right, so I'm suggesting instead of magit redoing all the mount point parsing, maybe we should suggest cygwin users install cygwin-mount.el and then we can call cygwin-mount-convert-file-name from magit-expand-git-file-name.

@PierreTechoueyres
Copy link
Author

Yes, but may be cygwin-mount is overkill for this isn't it ?

I think the patch could be improved by adding tests on system-type etc.
I've also open bug #2317 and tarsius addressed some other questions.

@PierreTechoueyres
Copy link
Author

See PR #2324.
Unable to update this one.

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

2 participants