diff options
author | Joey Hess <joey@kitenet.net> | 2014-02-19 17:39:58 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-02-19 17:39:58 -0400 |
commit | 37d271de6fc93778d81aa4d78f9214749ce51be3 (patch) | |
tree | addb11665c5a78293b9d5bdffcf7381dc1fae06d | |
parent | 168da9ec557d6579dc6ebb8acb0bd835414183ef (diff) | |
parent | dd19d8b2a05336db63b351c10647944ff97515c3 (diff) |
Merge branch 'master' of ssh://git-annex.branchable.com
-rw-r--r-- | doc/bugs/trust_command_and_gitconfig_contradiction_causing_confusion.mdwn | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/bugs/trust_command_and_gitconfig_contradiction_causing_confusion.mdwn b/doc/bugs/trust_command_and_gitconfig_contradiction_causing_confusion.mdwn new file mode 100644 index 000000000..dc9887ff3 --- /dev/null +++ b/doc/bugs/trust_command_and_gitconfig_contradiction_causing_confusion.mdwn @@ -0,0 +1,33 @@ +### Please describe the problem. +'trust', 'dead', etc commands completing with 'ok' but fail to acknowledge contradiction in .git/config, causing confusion. + +[[!format sh """ +greg@x200s:~/Photos$ git-annex untrust home # yes, bad remote name +untrust home ok +(Recording state in git...) +greg@x200s:~/Photos$ git-annex status # /me is old-school and forgets +greg@x200s:~/Photos$ git-annex info +repository mode: indirect +trusted repositories: 2 + c0e4106e-2631-11e2-9749-1bfa37a61069 -- rose + c69d6fcc-18d1-11e2-9487-2fe6dbf0516b -- home (photos on eeepc) + +.... + +greg@x200s:~/Photos$ git-annex dead home +dead home ok +(Recording state in git...) +greg@x200s:~/Photos$ git-annex info +repository mode: indirect +trusted repositories: 2 + c0e4106e-2631-11e2-9749-1bfa37a61069 -- rose + c69d6fcc-18d1-11e2-9487-2fe6dbf0516b -- home (photos on eeepc) +"""]] + +The home remote has "annex-trustlevel=trusted" in .git/config + + +Maybe have those commands instead say "Hey, this is different than what you said explicitly in .git/config, ya sure? (y/n)" If y, overwrite config, if n, abort. + +### What version of git-annex are you using? On what operating system? +5.20140127 on Debian |