summaryrefslogtreecommitdiff
path: root/doc/bugs/Git_copy_fails_with_absolute_path_on_mavericks/comment_1_2f0c74aba502533b85b922ea81ded70d._comment
blob: e538a75c62a10ab21a768849e7e252e92d7b3e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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?
"""]]