bugs/Git copy fails with absolute path on mavericksgit-annexhttp://git-annex.branchable.com/bugs/Git_copy_fails_with_absolute_path_on_mavericks/git-annexikiwiki2016-03-14T17:38:52Zcomment 1http://git-annex.branchable.com/bugs/Git_copy_fails_with_absolute_path_on_mavericks/comment_1_2f0c74aba502533b85b922ea81ded70d/joey2016-03-14T17:38:52Z2016-03-14T17:34:21Z
<p>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.</p>
<p>I think that git-annex's support for it comes down to what <code>git ls-files</code>
does. For example:</p>
<pre><code>joey@darkstar:~/tmp/me> git ls-files ~/tmp/me/foo
foo
</code></pre>
<p>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.</p>
<p>Does git ls-files convert the absolute path to a relative path
when you run it on the Mavericks system?</p>
<p>What version of git is installed on the Mavericks system? Is
git-annex installed from the git-annex app, or from homebrew, or how?</p>