Preserve execute bits of unlocked files in v6 mode.
When annex.thin is set, adding an object will add the execute bits to the work tree file, and this does mean that the annex object file ends up executable. This doesn't add any complexity that wasn't already present, because git annex add of an executable file has always ingested it so that the annex object ends up executable. But, since an annex object file can be executable or not, when populating an unlocked file from one, the executable bit is always added or removed to match the mode of the pointer file.
This commit is contained in:
parent
d05a75e45a
commit
b7c8bf5274
12 changed files with 128 additions and 67 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -13,6 +13,7 @@ git-annex (6.20160413) UNRELEASED; urgency=medium
|
|||
* Fix bug in v6 mode that prevented treating unlocked executable files
|
||||
as annexed. If you have such files, run git annex init --version=6
|
||||
to update the cache after upgrading to this version of git-annex.
|
||||
* Preserve execute bits of unlocked files in v6 mode.
|
||||
|
||||
-- Joey Hess <id@joeyh.name> Wed, 13 Apr 2016 13:30:32 -0400
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue