From: Junio C Hamano Date: Mon, 05 Jul 2010 20:10:43 GMT Subject: Re: 'git commit --short' without touching index? Message-ID: <7veifhy9j0.fsf@alter.siamese.dyndns.org> In-Reply-To: <20100703091748.GA11714@sigill.intra.peff.net> Jeff King writes: > It would be nice if the index-refreshing code only wrote to the index if > there was something worth writing. I'm not sure how hard that would be > to implement, though. Hmm, don't we already do that with "istate->cache_changed"? In any case, we should diagnose "commit --short" (and "--procelain") as an error, perhaps by splitting option parsers for commit and status further.