response
This commit is contained in:
parent
08ac70ae86
commit
124161e22e
1 changed files with 32 additions and 0 deletions
|
@ -0,0 +1,32 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="joey"
|
||||||
|
subject="""comment 1"""
|
||||||
|
date="2015-05-30T15:56:09Z"
|
||||||
|
content="""
|
||||||
|
I think you should be able to use remote.name.annex-ignore for this.
|
||||||
|
|
||||||
|
Let's see:
|
||||||
|
|
||||||
|
joey@darkstar:~/tmp/a>git annex addurl --fast http://localhost
|
||||||
|
addurl localhost ok
|
||||||
|
(recording state in git...)
|
||||||
|
joey@darkstar:~/tmp/a>git config remote.web.annex-ignore true
|
||||||
|
joey@darkstar:~/tmp/a>git annex get localhost
|
||||||
|
get localhost (not available)
|
||||||
|
Try making some of these repositories available:
|
||||||
|
00000000-0000-0000-0000-000000000001 -- web
|
||||||
|
|
||||||
|
(Note that these git remotes have annex-ignore set: web)
|
||||||
|
failed
|
||||||
|
git-annex: get: 1 failed
|
||||||
|
joey@darkstar:~/tmp/a>git config remote.web.annex-ignore false
|
||||||
|
joey@darkstar:~/tmp/a>git annex get localhost
|
||||||
|
get localhost (from web...)
|
||||||
|
/home/joey/tmp/a/.g 100%[=====================>] 10 --.-KB/s in 0s
|
||||||
|
ok
|
||||||
|
|
||||||
|
Yay, it worked!
|
||||||
|
|
||||||
|
I think the assistant might need a restart to notice git config changes
|
||||||
|
like this.
|
||||||
|
"""]]
|
Loading…
Reference in a new issue