From: Junio C Hamano Date: Tue, 22 Jul 2008 02:30:16 GMT Subject: Re: git status in clean working dir Message-ID: <7vy73ur6pz.fsf@gitster.siamese.dyndns.org> In-Reply-To: <0ttzeirft8.wl%bremner@pivot.cs.unb.ca> David Bremner writes: > According to the manual page for git-status (version 1.5.6.3) > > If there is no path that is different between the index file > and the current HEAD commit (i.e., there is nothing to commit > by running git-commit), the command exits with non-zero status. > > But it doesn't seem to work that way for me. > > git status -a > > exits with 0 > ... Try "git status -a >/dev/null" or "git --no-pager status -a". I think this is an instance of the c8af1de (make git-status use a pager, 2008-04-23) stupidity raising its ugly head again. Do people mind reverting that patch?