Re: [RFC] Silent File Mods Being Committed
- From
Petr Baudis <pasky@suse.cz>
- Date
- Mar 23, 2006, 21:47 UTC
- Message-ID
- <20060323214710.GV18185@pasky.or.cz>
- In-Reply-To
- <7vek0t68we.fsf@assigned-by-dhcp.cox.net>
Dear diary, on Thu, Mar 23, 2006 at 06:13:21AM CET, I got a letter where Junio C Hamano <junkio@cox.net> said that...
> (2) audit all the scripts to make sure they do not get upset if > we add trailing +/- to the status letter, and do that > unconditionally, like the attached patch does.
Cogito will get upset since we assume the mode field is one-char in our regexps, and when we don't, we compare the mode field with strings and that would obviously fail if you add random stuff to it.
Otherwise, I like this idea, though.
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ Right now I am having amnesia and deja-vu at the same time. I think I have forgotten this before.