> On 28 May 2015, at 18:20, Dirk Hohndel <[email protected]> wrote: > > On Thu, May 28, 2015 at 06:15:30PM +0200, Joakim Bygdell wrote: >> >>>> >>>> I can see that the code is wrong in that case - I'll push a fix in a >>>> minute. >>> That solved that issue, now I get a bunch of “file 01-Divesites/Site-HASH >>> does not match in working tree” >> As a result of the branch already existing. >> Saving it with a non existing branch name works fine. > > So you cannot use an existing git repository that holds your XML file or > anything else. It needs to be a repository/branch exclusively used by > Subsurface. Or did I misunderstand your comment?
I thought it was because there already existed a branch with the same name as the one I tried to use. But it was something else as I failed to reproduce it using the same steps. > >> Still can’t create a new git repository from scratch, must manually run "git >> init” in the target directory. > > Yes, I noticed the same. I thought we did the init at some point. > Linus, did that change? > >> Or open the the newly created repository. > > Not sure what you mean here. On Mac you can’t open a git repository, you must set it as the default divelog file in preferences. > > In the meantime I pushed a commit that allows us to use libgit2 master to > build - that seems to have added more support for ssh credentials for > remote repositories. > > /D /Jocke _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
