From: Avery Pennarun Date: Mon, 21 Jul 2008 21:36:59 GMT Subject: Re: [PATCH] checkout without arguments does not make sense Message-ID: <32541b130807211436h77bf5985xa61ed7b4941c47dc@mail.gmail.com> In-Reply-To: <20080721204955.GI32057@genesis.frugalware.org> On 7/21/08, Miklos Vajna wrote: > Actually I think it _is_ useful, like this: > > $ git checkout > Your branch is ahead of the tracked remote branch 'junio/next' by 1 commit. > > How will it be possible to get that info easily after your patch? Eek, are we using "checkout" to get status information now? If that goes wrong, you could be blowing away your locally modified data by accident. I think "git status" reports this information in recent versions, doesn't it? Thanks, Avery