Re: [PATCH] "not uptodate" changed to "has local changes"
- From
Kevin Ballard <kevin@sb.org>
- Date
- May 16, 2008, 17:12 UTC
- Message-ID
- <1ED37CF1-EABD-4881-BA29-ED2CB1CE73FC@sb.org>
- In-Reply-To
- <alpine.DEB.1.00.0805161125320.30431@racer>
On May 16, 2008, at 6:25 AM, Johannes Schindelin wrote:
Show 13 quoted lines
> On Thu, 15 May 2008, André Goddard Rosa wrote: > >>>> This patch will make git a little more human friendly, reporting >>>> "file.txt: has local changes". >>> >>> Documentation/git-checkout.txt should also change in this case, >>> otherwise users will see different output to that described and >>> possibly get confused if following along with the examples. >>> >> >> I like the idea too. > > No comment on the concern that it might break people's scripts? None?
How about an ugly hack? Look to see if stdout is a tty, if so spit out the more human-readable version, otherwise spit out the old version >:-)
-Kevin
-- Kevin Ballard http://kevin.sb.org kevin@sb.org http://www.tildesoft.com