From 0401fa577d5a8f8e5280f3acba8ed802e6fb11ea Mon Sep 17 00:00:00 2001 From: anarcat Date: Tue, 20 Oct 2015 04:44:39 +0000 Subject: trick question --- doc/todo/show_me_where_unused_file_was__44___i_can_wait.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/todo/show_me_where_unused_file_was__44___i_can_wait.mdwn diff --git a/doc/todo/show_me_where_unused_file_was__44___i_can_wait.mdwn b/doc/todo/show_me_where_unused_file_was__44___i_can_wait.mdwn new file mode 100644 index 000000000..c080d2b7c --- /dev/null +++ b/doc/todo/show_me_where_unused_file_was__44___i_can_wait.mdwn @@ -0,0 +1,7 @@ +i know that `git annex unused` would be slower if, instead of just showing the hash, it would also show the pathname where the file was. it does tell me that i can use `git log --stat -SKEY` to find that out myself, but then i would need to make some silly shell script to loop over multiple files. i'm hoping that git-annex has more efficient and clever ways of doing that, and even if it's slower, i'd be ready to wait if there was an extra flag to show me where it was... + +i have used this oneliner so far, but it's ugly and painful, especially since `git annex unused` doesn't have a very parseable output format... + + git annex unused 2>&1 | grep '^ *[0-9][0-9]*' | sed 's/^ *[0-9][0-9]* *//' | xargs -I'{}' git log --oneline --stat -S'{}' -1 + +any way to do this more easily? --[[anarcat]] -- cgit v1.2.3 From 44c46efe9142b37c19c3eb515c800e89b86e715e Mon Sep 17 00:00:00 2001 From: OlivierBerger Date: Wed, 21 Oct 2015 08:29:05 +0000 Subject: --- ...ex:_failed_to_read_sha_from_git_write-tree.mdwn | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 doc/bugs/Windows_:_git-annex:_failed_to_read_sha_from_git_write-tree.mdwn diff --git a/doc/bugs/Windows_:_git-annex:_failed_to_read_sha_from_git_write-tree.mdwn b/doc/bugs/Windows_:_git-annex:_failed_to_read_sha_from_git_write-tree.mdwn new file mode 100644 index 000000000..57f95d992 --- /dev/null +++ b/doc/bugs/Windows_:_git-annex:_failed_to_read_sha_from_git_write-tree.mdwn @@ -0,0 +1,46 @@ +### Please describe the problem. + +On windows, git-annex webapp reports a crash. + +On the command-line, I get : + +$ git annex fsck +fatal: unable to read tree 6d692a016b7d772800ddc3993ffd68fc6aaa21f3 +error: invalid object 100644 39e3d739a15dc3ed11a0c324781bf3658ccb933a for '001/e8c/SHA256E-s38500--9017f32c23b4de6363d3e5105bc1c47dd3cd983e471e71e0a9d420daaf0e3e7b.html.log' +fatal: git-write-tree: error building trees +(merging origin/git-annex into git-annex...) +(recording state in git...) +git-annex: failed to read sha from git write-tree + +Then, I try : + +$ git annex repair +Running git fsck ... +Unpacking all pack files. + +git-annex: DeleteFile ".git\\objects\\pack\\pack-c53ea32e9514b6dda95af1d8d879d91d32240d76.idx": permission denied (Accès refusé.) +failed +git-annex: repair: 1 failed + + +### What steps will reproduce the problem? + +Dunno how that got messed up, and what to do now... + +### What version of git-annex are you using? On what operating system? + +latest nightly build (2015/10/19) on win 7 + +### Please provide any additional information below. + +[[!format sh """ +# If you can, paste a complete transcript of the problem occurring here. +# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log + + +# End of transcript or log. +"""]] + +### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders) + + -- cgit v1.2.3 From 9da8aac643e95b8224b0e3d6958c8b67577c5ec9 Mon Sep 17 00:00:00 2001 From: CandyAngel Date: Wed, 21 Oct 2015 09:59:06 +0000 Subject: Added a comment --- .../comment_2_9e18a2c71884229f06b5ba62a6529a33._comment | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/devblog/day_328__git-annex_is_five/comment_2_9e18a2c71884229f06b5ba62a6529a33._comment diff --git a/doc/devblog/day_328__git-annex_is_five/comment_2_9e18a2c71884229f06b5ba62a6529a33._comment b/doc/devblog/day_328__git-annex_is_five/comment_2_9e18a2c71884229f06b5ba62a6529a33._comment new file mode 100644 index 000000000..404eb4ec7 --- /dev/null +++ b/doc/devblog/day_328__git-annex_is_five/comment_2_9e18a2c71884229f06b5ba62a6529a33._comment @@ -0,0 +1,9 @@ +[[!comment format=mdwn + username="CandyAngel" + subject="comment 2" + date="2015-10-21T09:59:06Z" + content=""" +Yay! Really glad I got to be part of (part of) the journey so far :) + +Thank you Joey. Hip hip, hooray! +"""]] -- cgit v1.2.3