Re: [PATCH] git-pull: don't complain about branch merge config if only fetching tags
- From
Gerrit Pape <pape@smarden.org>
- Date
- Dec 27, 2007, 09:30 UTC
- Message-ID
- <20071227093016.18337.qmail@e6d9fb481b7087.315fe32.mid.smarden.org>
- In-Reply-To
- <7v8x3oatvi.fsf@gitster.siamese.dyndns.org>
On Fri, Dec 21, 2007 at 08:35:13AM -0800, Junio C Hamano wrote:
> Gerrit Pape <pape@smarden.org> writes: > > When running git pull with the -t switch, it properly fetches tags, but > > complains about missing information on how to merge. Since there's > > nothing to merge, make git-pull simply exit after fetching the tags.
> I've seen this patch on this list in the past, but isn't "git > pull -t" a user-error?
If so, we shouldn't advertise the -t switch in the git-pull(1) manpage. As it stands, I'd understand 'git pull -t' as 'fetch _all_ tags and branch heads and merge according to the configuration'.
Regards, Gerrit.