From: Stephan Beyer <s-beyer@gmx.net>
To: sverre@rabbelier.nl
Cc: Git Mailinglist <git@vger.kernel.org>
Subject: Re: git reset musings
Date: Fri, 25 Jul 2008 19:04:33 +0200 [thread overview]
Message-ID: <20080725170433.GD27172@leksak.fem-net> (raw)
In-Reply-To: <bd6139dc0807241151p177bb8eey6ff0fbd0a5d9008@mail.gmail.com>
Hi,
Sverre Rabbelier wrote:
> Heya,
>
> After doing "git reset" you always get a whole bunch of lines saying
> "foo: locally modified". Now I have a "OMG?!" reaction to that every
> so often, where for a brief moment I think something went wrong. A bit
> silly surely, but I suspect that some other users (especially those
> new to git) have had similar reactions. Maybe it would be worth
> letting the user know what's going on? E.g., before suddenly spitting
> out an un-asked-for status report, let the user know that a status
> report is following? Why not just do a 'git status' instead of this
> we-hacked-up-a-quick-status-listing thing?
This is no "quick status listing hack", it is a
"We've just refreshed the index regarding this entry, so we
should output that this file in the working tree is different
from the index now."
So you would use the REFRESH_QUIET flag and invoke git-status at the
end of git-reset?
Hmmm, I don't know if this is good.
Isn't typing "git status" the standard reaction to the "OMG?! What's
going here?" feeling?
And after you've first experienced this, it's something you know. There
will not be a second "OMG?!" :)
And "locally modified" seems to be less ambiguous than "needs update".
Regards,
Stephan
--
Stephan Beyer <s-beyer@gmx.net>, PGP 0x6EDDD207FCC5040F
prev parent reply other threads:[~2008-07-25 17:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-24 18:51 git reset musings Sverre Rabbelier
2008-07-25 17:04 ` Stephan Beyer [this message]
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=20080725170433.GD27172@leksak.fem-net \
--to=s-beyer@gmx.net \
--cc=git@vger.kernel.org \
--cc=sverre@rabbelier.nl \
/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).