From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: git@vger.kernel.org, gitster@pobox.com
Subject: [PATCH 0/4] Make --decorate more useful
Date: Wed, 11 Jul 2007 02:28:25 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0707110220340.4047@racer.site> (raw)
This series is meant to (partially) replace the patch I posted in
http://article.gmane.org/gmane.comp.version-control.git/24383
Often it is useful to find out what feature came in when, to quickly
find out if some version of the software is sufficient, or if the
other person has to upgrade.
With this series applied, you can say
git log --decorate=tag -S<some keyword> <file>
to find out what that version was, indeed you even get a human readable
name for that commit, in addition to the commit name.
Johannes Schindelin (4):
Move add_name_decoration() and add_ref_decoration() to commit.[ch]
Move the --decorate option from builtin-log.c to revision.c.
--decorate now decorates ancestors, too
--decorate: prefer shorter names
Documentation/git-log.txt | 3 -
Documentation/pretty-options.txt | 15 ++++++
builtin-log.c | 39 +-------------
commit.c | 104 ++++++++++++++++++++++++++++++++++++++
commit.h | 5 ++
log-tree.c | 4 ++
revision.c | 47 +++++++++++++++++
revision.h | 9 +++
8 files changed, 186 insertions(+), 40 deletions(-)
next reply other threads:[~2007-07-11 1:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-11 1:28 Johannes Schindelin [this message]
2007-07-11 1:28 ` [PATCH 1/4] Move add_name_decoration() and add_ref_decoration() to commit.[ch] Johannes Schindelin
2007-07-11 1:29 ` [PATCH 2/4] Move the --decorate option from builtin-log.c to revision.c Johannes Schindelin
2007-07-12 18:45 ` Junio C Hamano
2007-07-13 15:38 ` Johannes Schindelin
2007-07-11 1:29 ` [PATCH 3/4] --decorate now decorates ancestors, too Johannes Schindelin
2007-07-11 2:27 ` Theodore Tso
2007-07-12 18:45 ` Junio C Hamano
2007-07-14 0:23 ` Johannes Schindelin
2007-07-21 22:26 ` Johannes Schindelin
2007-07-11 1:30 ` [PATCH 4/4] --decorate: prefer shorter names Johannes Schindelin
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=Pine.LNX.4.64.0707110220340.4047@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/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).