working with git-svn (was ...)
John Ralls
jralls at ceridwen.us
Tue Jul 2 16:19:49 EDT 2013
On Jul 2, 2013, at 1:01 PM, Derek Atkins <derek at ihtfp.com> wrote:
> I just did the following:
>
> pwd
> .../gnucash-trunk
> ( cd ../gnucash.git ; git fetch --all )
> git-update
> ...
>
> and git-update output:
>
> From /home/warlord/src/gnucash/gnucash
> e7537f8..2655c4a trunk -> origin/trunk
> warning: refname 'trunk' is ambiguous.
> First, rewinding head to replay your work on top of it...
> Fast-forwarded trunk to 2655c4aaf0ec1b79a5707809320291aa93482894.
>
>
> So... what is this warning about?
>
> -derek
>
> PS: the git fetch output was:
>
> Unpacking objects: 100% (71/71), done.
> From ssh://code.gnucash.org/gnucash
> e7537f8..2655c4a trunk -> trunk
> e7537f8..2655c4a origin/trunk -> origin/trunk
>
> Should I not be using --all?
The warning is that there are more than one interpretation of 'trunk'
as a branch name. Don't worry about it, it always picks the right one.
--all fetches all remotes. Not all branches, all remotes. Since most of
the time there's only one remote, it's a no-op except that it makes a
little extra noise. You don't need it for Gnucash. You might want to use it
on that project where you have a different vendor source (and therefore a
different remote) for each branch.
Regards,
John Ralls
More information about the gnucash-devel
mailing list