Re: [PATCH 1/4] Split up default "core" config parsing into helper routine
- From
- Eric Raible <raible@gmail.com>
- Date
- Jun 19, 2008, 00:18 UTC
- Message-ID
- <loom.20080619T000837-669@post.gmane.org>
- In-Reply-To
- <alpine.LFD.1.10.0806181632080.2907@woody.linux-foundation.org>
Linus Torvalds <torvalds <at> linux-foundation.org> writes:
Show 5 quoted lines
> Forget about "branch.mybranch.url". It has no meaning. It's not what you > are supposed to ever use as a human (it's purely for scripting). It's not > worth even thinking about. > > Linus
But it's hard to forget about it when the 'git pull' error
message that begins with "You asked me to pull without ..."
mentions these specifically:
branch.${curr_branch}.remote = <nickname>"
branch.${curr_branch}.merge = <remote-ref>"
remote.<nickname>.url = <url>"
remote.<nickname>.fetch = <refspec>"It seems to me it would be much more helpful if that message gave some sample git config command lines rather than the resulting "scripting-only" names.
- Eric