diff options
author | Karthik Nayak <karthik.188@gmail.com> | 2017-01-10 14:19:41 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-10 12:44:31 -0800 |
commit | 7743fcca5be6854a1b9a5a0f7e60b79c15fee4b9 (patch) | |
tree | eea4617d10d7b555a1eabecb141fe67fc50f9cc9 /write_or_die.c | |
parent | ffd921d311c9293ce83e0d191769a962d9197a71 (diff) | |
download | git-7743fcca5be6854a1b9a5a0f7e60b79c15fee4b9.tar.gz git-7743fcca5be6854a1b9a5a0f7e60b79c15fee4b9.tar.xz |
ref-filter: add support for %(upstream:track,nobracket)
Add support for %(upstream:track,nobracket) which will print the
tracking information without the brackets (i.e. "ahead N, behind M").
This is needed when we port branch.c to use ref-filter's printing APIs.
Add test and documentation for the same.
Mentored-by: Christian Couder <christian.couder@gmail.com>
Mentored-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'write_or_die.c')
0 files changed, 0 insertions, 0 deletions