Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Slash in paths #10

Open
mjtorn opened this issue May 27, 2009 · 1 comment
Open

Slash in paths #10

mjtorn opened this issue May 27, 2009 · 1 comment

Comments

@mjtorn
Copy link

mjtorn commented May 27, 2009

Hi

Tho GetGitDir() seems to return a path ending in /

-        let lines = readfile(git_dir . 'HEAD')
+        let lines = readfile(git_dir . '/HEAD')

-    execute printf('%s %sCOMMIT_EDITMSG', g:git_command_edit, git_dir)
+    execute printf('%s %s/COMMIT_EDITMSG', g:git_command_edit, git_dir)

(stupid formatting - you get the point ;)

patches are required for this to work.

Would you mind looking into this?

Thanks for the good work :)

@mathstuf
Copy link

Making a comment because I see no other way to keep updated on this bug besides manual checking.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants