diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-03-14 13:38:41 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-03-14 13:38:41 -0400 |
commit | 9e234edc3dfb6d978e5bf3aaf7dbed7f88725b2a (patch) | |
tree | 5a3dd54c446cb260912a7ebb97826727488df701 | |
parent | 2584259a9c60fffc85efd9aa956bdf0df833a4c7 (diff) |
comment
-rw-r--r-- | doc/bugs/Git_copy_fails_with_absolute_path_on_mavericks/comment_1_2f0c74aba502533b85b922ea81ded70d._comment | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/bugs/Git_copy_fails_with_absolute_path_on_mavericks/comment_1_2f0c74aba502533b85b922ea81ded70d._comment b/doc/bugs/Git_copy_fails_with_absolute_path_on_mavericks/comment_1_2f0c74aba502533b85b922ea81ded70d._comment new file mode 100644 index 000000000..e538a75c6 --- /dev/null +++ b/doc/bugs/Git_copy_fails_with_absolute_path_on_mavericks/comment_1_2f0c74aba502533b85b922ea81ded70d._comment @@ -0,0 +1,23 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2016-03-14T17:34:21Z" + content=""" +Using absolute paths to files is an unusual thing to do with git in my +experience. But, git does seem to support it, at least some of the time. + +I think that git-annex's support for it comes down to what `git ls-files` +does. For example: + + joey@darkstar:~/tmp/me> git ls-files ~/tmp/me/foo + foo + +Since git-annex uses git ls-files, it sees a relative file and so +all or most all git-annex commands can work with the absolute file input. + +Does git ls-files convert the absolute path to a relative path +when you run it on the Mavericks system? + +What version of git is installed on the Mavericks system? Is +git-annex installed from the git-annex app, or from homebrew, or how? +"""]] |