[PATCH v2 0/5] Decorate grafts and replaces
- From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
- Date
- Aug 18, 2011, 12:29 UTC
- Message-ID
- <1313670578-2939-1-git-send-email-pclouds@gmail.com>
- In-Reply-To
- <1313593326-12077-1-git-send-email-pclouds@gmail.com>
I originally wanted to decorate shallow cut points. Now it decorates all grafts (normal as well as shallow cuts) and replaced commits/tags.
The first patch is an independent fix. The last one, decorating replaces, can also be considered a fix (decorating "refs/replace/SHA1" on random commits does not sound right, but maybe it's just me).
Nguyễn Thái Ngọc Duy (5): decoration: do not mis-decorate refs with same prefix Add for_each_commit_graft() to iterate all grafts Move write_shallow_commits to fetch-pack.c log: decorate grafted commits with "grafted" log: decorate "replaced" on to replaced commits
builtin/fetch-pack.c | 30 ++++++++++++++++++++++++++++++ commit.c | 20 +++++--------------- commit.h | 3 ++- log-tree.c | 34 ++++++++++++++++++++++++++++++---- 4 files changed, 67 insertions(+), 20 deletions(-)
-- 1.7.4.74.g639db