Teach git status to do "git diff --name-status HEAD"
- From
- Martin Langhoff <martin@laptop.org>
- Date
- Sep 17, 2008, 06:40 UTC
- Message-ID
- <aba84270809162340n4ea3f5feqc71d01fa6e035b79@mail.gmail.com>
I just did
$ git checkout -b mdl19-offlinetony
A README.offline
M lib/javascript.php
(...)
A lib/offline/offlinemoodle.user.jsI *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