require "annex/objects/" before key in pointer files
authorJoey Hess <joeyh@joeyh.name>
Mon, 7 Dec 2015 19:45:08 +0000 (15:45 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 7 Dec 2015 19:45:08 +0000 (15:45 -0400)
commit712c9fc590800d52369415a792d57493caf5f025
tree26742e324bbb4be787c2a7799357e1bb4fc053af
parent664cc987e806800ef46794f356003321170c1060
require "annex/objects/" before key in pointer files

This removes ambiguity, because while someone might have "WORM--foo" in a
file that's not intended to be a git-annex pointer file,
"annex/objects/WORM--foo" is less likely.

Also, 664cc987e806800ef46794f356003321170c1060 had a caveat about symlink
targets being parsed as pointer files, and now the same parser is used for
both.

I did not include any hash directories before the key in the pointer file,
as they're not needed. However, if they were included, the parser would
still work ok.
Annex/CatFile.hs
Command/Smudge.hs
doc/todo/smudge.mdwn