git-annex/Command
Joey Hess 9f20aee219 avoid logging to location log when in a bare repo
This assumes that changes to content in bare repos are made from some
non-bare repo, and that the location log is updated on that side.

That's true for move --from and move --to.

It's *not* true for dropkey and setkey and recvkey. But those are plumbing
level commands, so I guess it's ok to assume that someone running those
in a bare repo knows what they're doing. And git-annex-shell is used to
run those, and if the bare repo is non-local, it needs to be able to use
them even though they cannot update the location log. So this seems
unavoidable.
2011-03-03 15:22:53 -04:00
..
Add.hs use ShellParam type 2011-02-28 16:18:55 -04:00
ConfigList.hs git-annex-shell: Avoid exposing any git repo config except for the annex.uuid when doing configlist. 2011-01-04 17:34:14 -04:00
Copy.hs refactor in preparation for adding a git-annex-shell command 2010-12-30 15:06:26 -04:00
Drop.hs parameterize Backend type 2011-01-25 21:02:34 -04:00
DropKey.hs rework config storage 2011-01-26 00:17:38 -04:00
DropUnused.hs Improved temp file handling 2011-01-28 14:10:50 -04:00
Find.hs update unicode FilePath handling 2011-02-11 15:37:37 -04:00
Fix.hs use ShellParam type 2011-02-28 16:18:55 -04:00
FromKey.hs use ShellParam type 2011-02-28 16:18:55 -04:00
Fsck.hs fsck: Check for and repair location log damage. 2011-03-02 14:30:36 -04:00
Get.hs parameterize Backend type 2011-01-25 21:02:34 -04:00
InAnnex.hs got rid of Core module 2011-01-16 16:05:05 -04:00
Init.hs use ShellParam type 2011-02-28 16:18:55 -04:00
Lock.hs use ShellParam type 2011-02-28 16:18:55 -04:00
Map.hs rename 2011-02-28 16:25:31 -04:00
Migrate.hs better directory handling 2011-01-27 17:00:32 -04:00
Move.hs avoid logging to location log when in a bare repo 2011-03-03 15:22:53 -04:00
PreCommit.hs use ShellParam type 2011-02-28 16:18:55 -04:00
RecvKey.hs shutdown no longer a special case 2011-01-29 23:32:32 -04:00
Semitrust.hs trust setting improvements 2011-01-26 16:20:28 -04:00
SendKey.hs better directory handling 2011-01-27 17:00:32 -04:00
SetKey.hs use ShellParam type 2011-02-28 16:18:55 -04:00
Trust.hs trust setting improvements 2011-01-26 16:20:28 -04:00
Unannex.hs use ShellParam type 2011-02-28 16:18:55 -04:00
Uninit.hs use safewritefile 2011-01-28 12:35:51 -04:00
Unlock.hs better directory handling 2011-01-27 17:00:32 -04:00
Untrust.hs trust setting improvements 2011-01-26 16:20:28 -04:00
Unused.hs update unicode FilePath handling 2011-02-11 15:37:37 -04:00