diff options
author | http://joey.kitenet.net/ <joey@web> | 2011-12-31 00:29:45 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2011-12-31 00:29:45 +0000 |
commit | 133170fb2314f9eb09343460263fed9bebb5b383 (patch) | |
tree | 6b5cf698c113f0959336fb98f65870b8c2c56f72 /doc/tips | |
parent | 93700b14c96c2edc48c2fa3d223c3055b56a6c51 (diff) |
Added a comment
Diffstat (limited to 'doc/tips')
-rw-r--r-- | doc/tips/using_gitolite_with_git-annex/comment_4_eb81f824aadc97f098379c5f7e4fba4c._comment | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/tips/using_gitolite_with_git-annex/comment_4_eb81f824aadc97f098379c5f7e4fba4c._comment b/doc/tips/using_gitolite_with_git-annex/comment_4_eb81f824aadc97f098379c5f7e4fba4c._comment new file mode 100644 index 000000000..a94eec638 --- /dev/null +++ b/doc/tips/using_gitolite_with_git-annex/comment_4_eb81f824aadc97f098379c5f7e4fba4c._comment @@ -0,0 +1,33 @@ +[[!comment format=mdwn + username="http://joey.kitenet.net/" + nickname="joey" + subject="comment 4" + date="2011-12-31T00:29:45Z" + content=""" +Well a repo url like `gitolite@localhost:testing` puts it in the gitolite user's /~/testing + +This worked when I added the gitolite stuff, anyway.. Let's see if it still does: + +</pre> +joey@gnu:~/tmp>mkdir g +joey@gnu:~/tmp>cd g +joey@gnu:~/tmp/g>git init +Initialized empty Git repository in /home/joey/tmp/g/.git/ +joey@gnu:~/tmp/g>git annex init +init ok +joey@gnu:~/tmp/g>git remote add test 'gitolite@localhost:testing' +joey@gnu:~/tmp/g>touch foo +joey@gnu:~/tmp/g>git annex add foo +add foo (checksum...) ok +(Recording state in git...) +joey@gnu:~/tmp/g>git annex copy foo --to test --debug +git [\"--git-dir=/home/joey/tmp/g/.git\",\"--work-tree=/home/joey/tmp/g\",\"ls-files\",\"--cached\",\"-z\",\"--\",\"foo\"] +git [\"--git-dir=/home/joey/tmp/g/.git\",\"--work-tree=/home/joey/tmp/g\",\"check-attr\",\"annex.numcopies\",\"-z\",\"--stdin\"] +git [\"--git-dir=/home/joey/tmp/g/.git\",\"--work-tree=/home/joey/tmp/g\",\"show-ref\",\"--hash\",\"refs/heads/git-annex\"] +git [\"--git-dir=/home/joey/tmp/g/.git\",\"--work-tree=/home/joey/tmp/g\",\"show-ref\",\"git-annex\"] +git [\"--git-dir=/home/joey/tmp/g/.git\",\"--work-tree=/home/joey/tmp/g\",\"cat-file\",\"--batch\"] +Running: ssh [\"-4\",\"gitolite@localhost\",\"git-annex-shell 'configlist' '/~/testing'\"] +<pre> + +Still seems right, the ADC's regexp will match this the git-annex shell command. +"""]] |