summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2024-02-23 11:01:12 +0100
committerJunio C Hamano <gitster@pobox.com>2024-02-23 10:36:28 -0800
commit33d15b54358d8ec7fc0bd70062ddd1116402c8fe (patch)
tree8d5c2bcc53bb8018a27b96dbc8729b132d0dd20d /builtin/commit.c
parent810f7a1aace85ed9ffc454db6726c818c86685f0 (diff)
for-each-ref: add new option to include root refs
The git-for-each-ref(1) command doesn't provide a way to print root refs i.e pseudorefs and HEAD with the regular "refs/" prefixed refs. This commit adds a new option "--include-root-refs" to git-for-each-ref(1). When used this would also print pseudorefs and HEAD for the current worktree. Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions