automatically set and unset core.bare when switching to/from direct mode

This commit is contained in:
Joey Hess 2013-11-05 15:31:37 -04:00
parent 0edd9ec03a
commit 04768e44b2
4 changed files with 18 additions and 7 deletions

2
debian/changelog vendored
View file

@ -1,6 +1,6 @@
git-annex (4.20131102) UNRELEASED; urgency=low
* Direct mode repositories can now have core.bare=true set, to prevent
* Direct mode repositories now have core.bare=true set, to prevent
accidentally running git commands that try to operate on the work tree,
and so do the wrong thing.
* The -c option now not only modifies the git configuration seen by