Improved additional information
This commit is contained in:
parent
4e6b636f7a
commit
20768c716c
1 changed files with 24 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
### Please describe the problem.
|
### Please describe the problem.
|
||||||
|
|
||||||
git annex commands with `--all` option in tuned repository (with `annex.tune.branchhash1=true`) does not do anything.
|
git annex commands with `--all` option in tuned repository (with `annex.tune.branchhash1=true`) do not do anything.
|
||||||
|
|
||||||
### What steps will reproduce the problem?
|
### What steps will reproduce the problem?
|
||||||
|
|
||||||
|
@ -14,54 +14,72 @@ Version 7.20191230-g985373f8e, compiled from sources, on Debian buster 10.2.
|
||||||
|
|
||||||
### Please provide any additional information below.
|
### Please provide any additional information below.
|
||||||
|
|
||||||
[[!format sh """
|
[[!format txt """
|
||||||
|
|
||||||
~ $ mkdir testdir
|
~ $ mkdir testdir
|
||||||
~ $ cd testdir
|
~ $ cd testdir
|
||||||
|
~/testdir $
|
||||||
~/testdir $ git init
|
~/testdir $ git init
|
||||||
Initialized empty Git repository in /home/test/testdir/.git/
|
Initialized empty Git repository in /home/test/testdir/.git/
|
||||||
|
~/testdir $
|
||||||
~/testdir $ git annex init -c annex.tune.branchhash1=true testrepo
|
~/testdir $ git annex init -c annex.tune.branchhash1=true testrepo
|
||||||
init testrepo (scanning for unlocked files...)
|
init testrepo (scanning for unlocked files...)
|
||||||
ok
|
ok
|
||||||
(recording state in git...)
|
(recording state in git...)
|
||||||
|
~/testdir $
|
||||||
~/testdir $ echo abcabc >file
|
~/testdir $ echo abcabc >file
|
||||||
|
~/testdir $
|
||||||
~/testdir $ git annex add file
|
~/testdir $ git annex add file
|
||||||
add file
|
add file
|
||||||
ok
|
ok
|
||||||
(recording state in git...)
|
(recording state in git...)
|
||||||
|
~/testdir $
|
||||||
~/testdir $ git commit -m file
|
~/testdir $ git commit -m file
|
||||||
[master (root-commit) b910684] file
|
[master (root-commit) b910684] file
|
||||||
1 file changed, 1 insertion(+)
|
1 file changed, 1 insertion(+)
|
||||||
create mode 120000 file
|
create mode 120000 file
|
||||||
|
~/testdir $
|
||||||
~/testdir $ git annex whereis
|
~/testdir $ git annex whereis
|
||||||
whereis file (1 copy)
|
whereis file (1 copy)
|
||||||
67d9c35f-e206-404f-a9da-6c94894a4f9f -- testrepo [here]
|
67d9c35f-e206-404f-a9da-6c94894a4f9f -- testrepo [here]
|
||||||
ok
|
ok
|
||||||
|
~/testdir $
|
||||||
~/testdir $ git annex whereis --all
|
~/testdir $ git annex whereis --all
|
||||||
|
~/testdir $
|
||||||
~/testdir $ git annex fsck
|
~/testdir $ git annex fsck
|
||||||
fsck file (checksum...) ok
|
fsck file (checksum...) ok
|
||||||
(recording state in git...)
|
(recording state in git...)
|
||||||
|
~/testdir $
|
||||||
~/testdir $ git annex fsck --all
|
~/testdir $ git annex fsck --all
|
||||||
(recording state in git...)
|
(recording state in git...)
|
||||||
|
"""]]
|
||||||
|
|
||||||
|
But `--key` option works:
|
||||||
|
|
||||||
|
[[!format txt """
|
||||||
~/testdir $ git annex lookupkey file
|
~/testdir $ git annex lookupkey file
|
||||||
SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470
|
SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470
|
||||||
|
~/testdir $
|
||||||
~/testdir $ git annex whereis --key SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470
|
~/testdir $ git annex whereis --key SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470
|
||||||
whereis SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470 (1 copy)
|
whereis SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470 (1 copy)
|
||||||
67d9c35f-e206-404f-a9da-6c94894a4f9f -- testrepo [here]
|
67d9c35f-e206-404f-a9da-6c94894a4f9f -- testrepo [here]
|
||||||
ok
|
ok
|
||||||
|
~/testdir $
|
||||||
~/testdir $ git annex fsck --key SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470
|
~/testdir $ git annex fsck --key SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470
|
||||||
fsck SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470 (checksum...) ok
|
fsck SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470 (checksum...) ok
|
||||||
(recording state in git...)
|
(recording state in git...)
|
||||||
~/testdir $
|
"""]]
|
||||||
|
|
||||||
|
Repository status:
|
||||||
|
|
||||||
|
[[!format txt """
|
||||||
~/testdir $ find .git/annex/objects/ -type f
|
~/testdir $ find .git/annex/objects/ -type f
|
||||||
.git/annex/objects/J3/3f/SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470/SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470
|
.git/annex/objects/J3/3f/SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470/SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470
|
||||||
|
~/testdir $
|
||||||
~/testdir $ git ls-tree -r git-annex
|
~/testdir $ git ls-tree -r git-annex
|
||||||
100644 blob 20f9faf7ca569d23da5f106a445609d018fa221d activity.log
|
100644 blob 20f9faf7ca569d23da5f106a445609d018fa221d activity.log
|
||||||
100644 blob 71f3551b7119daa3c4679d2b790d72b6bc06cbb8 c34/SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470.log
|
100644 blob 71f3551b7119daa3c4679d2b790d72b6bc06cbb8 c34/SHA256E-s7--2ed91d820157c0530ffbae54122d998e0de6d958f266b682f7c528942f770470.log
|
||||||
100644 blob d475e423f6fb4863559e8cca981ae8a433f68516 difference.log
|
100644 blob d475e423f6fb4863559e8cca981ae8a433f68516 difference.log
|
||||||
100644 blob bf91bd54df30e28f40b49670cf9c9c26ff600a22 uuid.log
|
100644 blob bf91bd54df30e28f40b49670cf9c9c26ff600a22 uuid.log
|
||||||
~/testdir $
|
|
||||||
|
|
||||||
"""]]
|
"""]]
|
||||||
|
|
||||||
### 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)
|
### 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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue