[PATCH 0/3] Add support for mailmap in cat-file

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

 



Hi Everyone!

I am working as a GSoC mentee with GitLab organization. My project is
to add mailmap support in GitLab. GitLab uses git cat-file to get
commit and tag contents that are then displayed to the users. This
content which has author, committer or tagger information, could benefit
from passing through the mailmap mechanism, before being sent or
displayed.

So, this patch series adds mailmap support to the git cat-file command.
It does that by adding --[no-]use-mailmap command line option to the
git cat-file command. It also adds --[no-]mailmap option as an alias to
--[no-]use-mailmap.

I would like to thank my mentors, Christian Couder and John Cai, for all
of their help!
Looking forward to the reviews!

Siddharth Asthana (3):
  ident: move commit_rewrite_person() to ident.c
  ident: rename commit_rewrite_person() to rewrite_ident_line()
  cat-file: add mailmap support

 Documentation/git-cat-file.txt |  6 +++++
 builtin/cat-file.c             | 32 +++++++++++++++++++++-
 cache.h                        |  8 ++++++
 ident.c                        | 45 +++++++++++++++++++++++++++++++
 revision.c                     | 49 ++--------------------------------
 t/t4203-mailmap.sh             | 30 +++++++++++++++++++++
 6 files changed, 122 insertions(+), 48 deletions(-)


base-commit: e4a4b31577c7419497ac30cebe30d755b97752c5
-- 
2.37.0.3.g2093cce7fe.dirty




[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