Commit graph

1127 commits

Author SHA1 Message Date
Joey Hess
eeadc2e3e0 formatting 2011-03-03 17:24:46 -04:00
Joey Hess
ea4ea466f5 update 2011-03-03 17:23:44 -04:00
Joey Hess
7b2762fb92 better quoting of description via show 2011-03-03 17:22:17 -04:00
Joey Hess
657395b628 add describe subcommand 2011-03-03 17:21:00 -04:00
Joey Hess
1de12a2918 document describe command 2011-03-03 16:58:52 -04:00
Joey Hess
b5b78f26ec fix up commands that are trouble on bare repos
Most will just abort. init does a basic init and gives a command to
run elsewhere to finish it.
2011-03-03 16:40:55 -04:00
Joey Hess
b88637fff1 prevent trust commands from trying to do things in a bare repo
Since they need to stage changes, they would actually, if allowed to run,
succeed, but wipe out existing trust.log content.
2011-03-03 16:22:53 -04:00
Joey Hess
a9d0538da5 updates for bare repo support 2011-03-03 15:59:16 -04:00
Joey Hess
486f882471 wow, non-local bare repos just worked 2011-03-03 15:49:53 -04:00
Joey Hess
d28d659a24 initial documantation/todo list for bare repositories 2011-03-03 15:44:01 -04:00
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
Joey Hess
d25a854085 remove redundant imports 2011-03-03 14:59:45 -04:00
Joey Hess
d651d4985b some initial support for local bare repos
This relies on git-annex's behavior of reading the config of local repos.
That allows repoIsLocalBare to examine the git config for core.bare.

Hopefully, gitAnnexLocation, gitAnnexDir, and gitAnnexObjectDir
are only used on local repos. But, I have not audited fully, since
they're probably not (see for example copyToRemote). And so,
the functions fall back to their old non-bare-aware behavior for
non-local repos.
2011-03-03 14:51:57 -04:00
Joey Hess
7ea9f52c28 cannot be broken symlinks after all.. one other idea 2011-03-03 13:37:46 -04:00
Joey Hess
f93b8a6697 amend 2011-03-03 13:26:53 -04:00
Joey Hess
1bf3be5d6c doesn't seem possible.. 2011-03-03 13:25:17 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmFgsNxmnGznb5bbmcoWhoQOoxZZ-io61s
f9da862500 2011-03-03 10:31:47 +00:00
Joey Hess
6206b46e60 fsck: Check for and repair location log damage. 2011-03-02 14:30:36 -04:00
Joey Hess
a3daac8a8b only enable SHA backends that configure finds support for 2011-03-02 13:47:45 -04:00
tyger
70a6eb6d73 don't forget to rewrite tags 2011-03-02 13:18:10 +00:00
tyger
af6a7c4b81 Found temporary solution 2011-03-02 13:08:46 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus
1c08b8bf8a 2011-03-02 10:36:33 +00:00
tyger
3db25aaa3b Added a comment 2011-03-02 08:15:37 +00:00
Joey Hess
1072683a47 link 2011-03-01 21:38:47 -04:00
Joey Hess
d6be2e222f format 2011-03-01 21:37:27 -04:00
Joey Hess
fa92c29764 add internals page 2011-03-01 21:32:28 -04:00
Joey Hess
1b9c4477fb New backends: SHA512 SHA384 SHA256 SHA224 2011-03-01 17:07:15 -04:00
Joey Hess
b7f4801801 generic SHA size support 2011-03-01 16:50:53 -04:00
Joey Hess
d140c01bfd bug 2011-03-01 13:37:24 -04:00
Joey Hess
be4af85f98 a slightly annoying thing 2011-03-01 13:23:44 -04:00
tyger
e2e4096a28 Added a comment 2011-03-01 14:07:52 +00:00
Joey Hess
4cd96ad2db rename 2011-02-28 16:25:31 -04:00
Joey Hess
fcdc4797a9 use ShellParam type
So, I have a type checked safe handling of filenames starting with dashes,
throughout the code.
2011-02-28 16:18:55 -04:00
Joey Hess
7e5678bcf7 add ShellParam type, for type-checked shell params 2011-02-28 16:10:09 -04:00
Joey Hess
1bf6ed740e show all 2011-02-27 12:55:13 -04:00
Joey Hess
9a4e54a5e7 custom template for walkthrough inline 2011-02-27 12:52:27 -04:00
Joey Hess
78fa8c1b43 walkthrough deep links 2011-02-27 12:47:43 -04:00
Joey Hess
98e246b49b split the walkthrough and inline back together 2011-02-27 12:45:48 -04:00
Joey Hess
9e49a71282 typo 2011-02-27 12:19:28 -04:00
Joey Hess
b14ad63381 responses 2011-02-27 12:17:19 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkju1sxeJoVVa04plfuhH4Dp8KJOA-Gu_g
22c8dfcd3f 2011-02-27 14:01:37 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkju1sxeJoVVa04plfuhH4Dp8KJOA-Gu_g
715faa86af 2011-02-27 13:59:42 +00:00
http://christian.amsuess.com/chrysn
9e74d3bfc3 Added a comment: git-add instead of git-annex-add 2011-02-26 21:43:22 +00:00
jbd
307685c349 Added a comment 2011-02-26 10:26:13 +00:00
Joey Hess
92543c969c Merge remote-tracking branch 'branchable/master' 2011-02-25 15:55:23 -04:00
http://joey.kitenet.net/
82d6545b6f removed 2011-02-25 19:54:48 +00:00
http://joey.kitenet.net/
2d1e1e414d Added a comment 2011-02-25 19:54:31 +00:00
Joey Hess
8aebf9a337 update 2011-02-25 15:54:29 -04:00
http://joey.kitenet.net/
42b181a04b Added a comment 2011-02-25 19:54:29 +00:00
Joey Hess
3f7c0b6970 further investigation 2011-02-25 15:50:17 -04:00