File: comment_4_5a6786dc52382fff5cc42fdb05770196._comment

package info (click to toggle)
git-annex 5.20141125%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 37,832 kB
  • sloc: haskell: 42,603; sh: 1,080; ansic: 498; makefile: 316; perl: 125
file content (18 lines) | stat: -rw-r--r-- 1,052 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawnpdM9F8VbtQ_H5PaPMpGSxPe_d5L1eJ6w"
 nickname="Rafaƫl"
 subject="git annex unused"
 date="2011-06-02T11:55:58Z"
 content="""
Before dropping unsused items, sometimes I want to check the content of the files manually.
But currently, from e.g. a sha1 key, I don't know how to find the corresponding file, except with
'find .git/annex/objects -type f -name 'SHA1-s1678--70....', wich is too slow (I'm in the case where \"git log --stat -S'KEY'\"
won't work, either because it is too slow or it was never commited). By the way,
is it documented somewhere how to determine the 2 (nested) sub-directories in which a given
(by name) object is located?

So I would like 'git-annex unused' be able to give me the list of *paths* to the unused items.
Also, I would really appreciate a command like 'git annex unused --log NUMBER [NUMBER2...]' which would do for me the suggested command
\"git log --stat -S'KEY'\", where NUMBER is from the 'git annex unused' output.
Thanks.
"""]]