From: Jacek Wielemborek <d33tah@gmail.com>
To: git@vger.kernel.org
Subject: git status --diffstat?
Date: Tue, 23 Jun 2015 21:30:13 +0200 [thread overview]
Message-ID: <5589B3C5.7050504@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1123 bytes --]
Hi,
I recently realized that I could use a "git status" syntax like this:
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: macd.py 2 +-
modified: macd.wsgi 2 +-
modified: macd/admin.py 4 ++++
modified: macd/index.html 2 +-
modified: macd/models.py 7 +++++--
modified: macd/settings.py 27 +++++++++++++++++----------
modified: macd/urls.py 6 ++++++
modified: macd/views.py 27 +++++++++++++++++++--------
(...)
The idea is to add diffstats to git-status. I cooked up a Python script
to do that [1], but I'd like that to be default behavior on my box.
Someone suggested me to just implement it in C, but I'm not familiar
with the codebase, so it'd take me a while.
What do you think about this? Would anybody else find it useful and
perhaps consider implementing it?
Cheers,
d33tah
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
reply other threads:[~2015-06-23 19:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=5589B3C5.7050504@gmail.com \
--to=d33tah@gmail.com \
--cc=git@vger.kernel.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).