diff options
author | http://joeyh.name/ <http://joeyh.name/@web> | 2013-12-03 20:23:55 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2013-12-03 20:23:55 +0000 |
commit | aaf7d74967158a6c525ec7b75cfccc9f0305e9df (patch) | |
tree | 7571a4e86cb5f87ad1e8b99bae92c8b41d58f63a | |
parent | 94d4dbad47f282d44b78cdd7ac23677dcb9dbed1 (diff) |
Added a comment
-rw-r--r-- | doc/bugs/Assistant_has_created_155_semitrusted_repositories/comment_13_a26c2b49ee7746be06f4772aa838d5aa._comment | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/bugs/Assistant_has_created_155_semitrusted_repositories/comment_13_a26c2b49ee7746be06f4772aa838d5aa._comment b/doc/bugs/Assistant_has_created_155_semitrusted_repositories/comment_13_a26c2b49ee7746be06f4772aa838d5aa._comment new file mode 100644 index 000000000..e4d552ad7 --- /dev/null +++ b/doc/bugs/Assistant_has_created_155_semitrusted_repositories/comment_13_a26c2b49ee7746be06f4772aa838d5aa._comment @@ -0,0 +1,21 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.64" + subject="comment 13" + date="2013-12-03T20:23:43Z" + content=""" +Ok, that explains the weird results, because I get the same crazy data dumped when I try eg `git show git-annex:uuid.log @{0}` in a repository that is completely ok. + +The @{0} causes git show to show some commit. Not the commit that changed uuid.log however. So it first shows the uuid.log (always the most recent version), and then some random commit. + +This will work: + +<pre> +git clone myrepo myrepo.tmp +cd myrepo.tmp +git checkout git-annex +mkdir logs +for r in $(git log --pretty='%H' uuid.log); do git show $r > logs/$r; done +git log uuid.log > logs/gitlog +</pre> +"""]] |