[PATCH 0/4] Make --decorate more useful

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux