From: Junio C Hamano <gitster@pobox.com>
To: Jeff King <peff@peff.net>
Cc: Daniel <friedan@muon.rutgers.edu>, git@vger.kernel.org
Subject: Re: 'git commit --short' without touching index?
Date: Mon, 05 Jul 2010 13:10:43 -0700 [thread overview]
Message-ID: <7veifhy9j0.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <20100703091748.GA11714@sigill.intra.peff.net> (Jeff King's message of "Sat\, 3 Jul 2010 05\:17\:48 -0400")
Jeff King <peff@peff.net> 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.
next prev parent reply other threads:[~2010-07-05 20:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-03 8:30 'git commit --short' without touching index? Daniel
2010-07-03 9:17 ` Jeff King
2010-07-03 10:08 ` friedan
2010-07-05 20:10 ` Junio C Hamano [this message]
2010-07-05 20:56 ` Jeff King
2010-07-05 21:28 ` Junio C Hamano
2010-07-06 12:10 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7veifhy9j0.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=friedan@muon.rutgers.edu \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).