git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: Michael J Gruber <git@drmicha.warpmail.net>
Cc: Martin Langhoff <martin@laptop.org>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: Teach git status to do "git diff --name-status HEAD"
Date: Wed, 17 Sep 2008 04:04:30 -0700 (PDT)	[thread overview]
Message-ID: <m3ej3jm3ux.fsf@localhost.localdomain> (raw)
In-Reply-To: <48D0C2DF.7010308@drmicha.warpmail.net>

Michael J Gruber <git@drmicha.warpmail.net> writes:

> Martin Langhoff venit, vidit, dixit 17.09.2008 08:40:
> > I just did
> > 
> > $ git checkout -b mdl19-offlinetony
> > A       README.offline
> > M       lib/javascript.php
> >     (...)
> > A       lib/offline/offlinemoodle.user.js
> > 
> > I *like* this "brief status" style - takes me back to my cvs days :-).
> > Perusing the source I found show_local_changes() which in turn led me
> > to trying `git diff --name-status HEAD`. Now, including 'HEAD' in an
> > alias defined in git config is going to lead to trouble... :-/
[...]
> > I might still make an alias to `git diff --name-status`. This would be
> > a great thing to have as git status "--brief" IMHO... :-)
> 
> git status also shows untracked files. I don't know how to tell diff to
> show untracked files as well. --diff-filter=X doesn't do it.

git-ls-files?

-- 
Jakub Narebski
Poland
ShadeHawk on #git

  reply	other threads:[~2008-09-17 11:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-17  6:40 Teach git status to do "git diff --name-status HEAD" Martin Langhoff
2008-09-17  8:42 ` Michael J Gruber
2008-09-17 11:04   ` Jakub Narebski [this message]
2008-09-17 11:26     ` Michael J Gruber
2008-09-17 15:16     ` Mismatch between "git status" and "git ls-files" [was Re: Teach git status to do "git diff --name-status HEAD"] Michael J Gruber
2008-09-17 17:31       ` 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=m3ej3jm3ux.fsf@localhost.localdomain \
    --to=jnareb@gmail.com \
    --cc=git@drmicha.warpmail.net \
    --cc=git@vger.kernel.org \
    --cc=martin@laptop.org \
    /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).