Commit graph

42417 commits

Author SHA1 Message Date
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
http://joey.kitenet.net/
5cb24bebf4 Added a comment 2011-02-25 19:12:42 +00:00
jbd
fa37ae1d96 2011-02-25 09:12:45 +00:00
http://joey.kitenet.net/
d35c11de7a Added a comment 2011-02-25 05:16:48 +00:00
Joey Hess
836e71297b Support filenames that start with a dash; when such a file is passed to a utility it will be escaped to avoid it being interpreted as an option. 2011-02-25 01:13:01 -04:00
http://jandd.myopenid.com/
e61b47bc8a 2011-02-24 10:11:36 +00:00
http://christian.amsuess.com/chrysn
bcd3a9ea34 Added a comment: relation to [[todo/branching]] 2011-02-23 21:48:15 +00:00
http://christian.amsuess.com/chrysn
c5ffefcde1 Added a comment 2011-02-23 16:44:01 +00:00
tyger
0573ccecc5 reformat list 2011-02-23 15:15:03 +00:00
tyger
5b96961957 2011-02-23 09:49:34 +00:00
Joey Hess
4c761b0b08 move 2011-02-22 14:52:22 -04:00