git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Teach git status to do "git diff --name-status HEAD"
@ 2008-09-17  6:40 Martin Langhoff
  2008-09-17  8:42 ` Michael J Gruber
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Langhoff @ 2008-09-17  6:40 UTC (permalink / raw)
  To: Git Mailing List

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... :-)

cheers,



m
-- 
 martin@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-17 17:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).