Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2014-10-12 13:18:37 -04:00
commit aa8671fafe
7 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1,2 @@
http://stackoverflow.com/questions/26305691/git-annex-hangs
Does anyone know what might be causing this?

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.54"
subject="comment 1"
date="2014-10-10T18:51:57Z"
content="""
I have followed up there, but the basic answer is, pass --debug to see what it's doing.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawktbkKjilg70XC9XBFpIgVhtfLYH-0UMHY"
nickname="Tad"
subject="comment 2"
date="2014-10-10T19:08:49Z"
content="""
--debug is useful. Thanks! I have tried from scratch and added backend after creating file and that worked. I will use --debug in the future
"""]]

View file

@ -0,0 +1 @@
The settings don't seem to be saving. If I edit it, then immediately open the file again, the settings are what they were before. This happens no matter what repo I do it from.

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawkR2dZjxqujBXcitvsP_PeWG8A-LfLU_tg"
nickname="Fernão"
subject="comment 2"
date="2014-10-10T18:18:04Z"
content="""
nice, it worked =)
"""]]

View file

@ -0,0 +1,19 @@
I have a Desktop computer at home and another at work, and work from home every other day. I'd like to use git-annex assistant to keep my git checkouts in sync across both of them. I may be a bit unusual in that I don't always commit before going home.
I also would like to have anything in the git stash synchronized between the two, the .git/config file, etc.
So to be clear, I have a file structure like the following:
./annex/.git
./annex/project/README.md
./annex/project/.git
./annex/project2/README.md
./annex/project2/.git
In my testing it seems that the "project/.git" folders aren't synchronized between my two desktops, even though the rest of the files are. A workaround is to rename "project/.git" to something else, like "project/.gitfoo", and then use --git-dir when issuing my git commands.
Is this something that can be worked around? I apologize if this is covered elsewhere, as I wasn't thinking of the right terms to search for.
I've looked through the code and can't find anything obvious. I imagine this is because git hard-codes all ".git" subdirectories as something it should ignore.
Is there a better workaround? I realize this is probably a niche use case.

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="jewel"
ip="23.30.55.105"
subject="comment 1"
date="2014-10-12T05:22:03Z"
content="""
Now I've found the relevant bug: `http://git-annex.branchable.com/bugs/Can__39__t_add_a_git_repo_to_git_annex:___34__Invalid_path_repo__47__.git__47__X__34___for_many_X`.
Note the symlink workaround near the end. A quick test shows that it's working great. I'll try it out for a few months and report back.
"""]]