summaryrefslogtreecommitdiff
path: root/doc/bare_repositories.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-10-29 19:16:45 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-10-29 19:16:45 -0400
commit22e9f445ab74041321d731fd6290f2922384753b (patch)
tree7d794ff1e9a638849ef46787f2f7f4fa9f27e2e9 /doc/bare_repositories.mdwn
parentc102e63595d502c2424552b29e338ab71cb4a098 (diff)
unused, dropunused: Now work in bare repositories.
Turned out I had already done all the work needed to support this when unused started checking all branches.
Diffstat (limited to 'doc/bare_repositories.mdwn')
-rw-r--r--doc/bare_repositories.mdwn20
1 files changed, 8 insertions, 12 deletions
diff --git a/doc/bare_repositories.mdwn b/doc/bare_repositories.mdwn
index c5663d84c..f2a3ea4e9 100644
--- a/doc/bare_repositories.mdwn
+++ b/doc/bare_repositories.mdwn
@@ -7,16 +7,12 @@ Of course, for that to work, the bare repository has to be on a system with
[[git-annex-shell]] installed. If "origin" is on GitWeb, you still can't
use git-annex to store stuff there.
-Known to work ok:
+It took a while, but bare repositories are now supported exactly as well
+as non-bare repositories. Except for these caveats:
-* `git annex move --to` and `--from`, when pointed at a bare repository.
-* `git annex copy` ditto.
-* `git annex drop` can check that a bare repository has a copy of data
- that is being dropped.
-* `git annex get` can transfer data from a bare repository.
-* Most other stuff (ie, init, describe, trust, etc.)
-
-There are a few caveats to keep in mind when using bare repositories:
-
-* A few subcommands, like `unused` cannot be run in a bare repository.
- Those subcommands will refuse to do anything.
+* `git annex fsck` works in a bare repository, but does not display
+ warnings about insufficient
+ [[copies]]. To get those warnings, just run it in one of the non-bare
+ checkouts.
+* `git annex unused` in a bare repository only knows about keys used in
+ branches that have been pushed to the bare repository. So use it with care..