git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sven Strickroth <sven@cs-ware.de>
To: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>
Subject: RFC: git status --amend
Date: Tue, 31 Mar 2015 16:59:27 +0200	[thread overview]
Message-ID: <551AB64F.4030400@cs-ware.de> (raw)

Hi,

for frontends or scripts it would be helpful to be able to use "git
status" for getting the repository status compared to HEAD~1 instead of
only HEAD (as provided by "git commit --amend" in the pre-filled commit
message).

Thus, I'm suggesting to add a "--amend" parameter (or a parameter with a
better naming) to "git status".

What do you think of this idea?

-- 
Best regards,
 Sven Strickroth
 PGP key id F5A9D4C4 @ any key-server

             reply	other threads:[~2015-03-31 15:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-31 14:59 Sven Strickroth [this message]
2015-03-31 18:04 ` RFC: git status --amend Jeff King
2015-03-31 18:35   ` Junio C Hamano
2015-04-01  8:43     ` David Aguilar
2015-04-01 17:16       ` Junio C Hamano
2015-04-03 21:57         ` David Aguilar
2015-04-03 22:05           ` 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=551AB64F.4030400@cs-ware.de \
    --to=sven@cs-ware.de \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /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).