diff options
| author | Karthik Nayak <karthik.188@gmail.com> | 2024-02-23 11:01:12 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-02-23 10:36:28 -0800 |
| commit | 33d15b54358d8ec7fc0bd70062ddd1116402c8fe (patch) | |
| tree | 8d5c2bcc53bb8018a27b96dbc8729b132d0dd20d /t/unit-tests/u-oid-array.c | |
| parent | 810f7a1aace85ed9ffc454db6726c818c86685f0 (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 't/unit-tests/u-oid-array.c')
0 files changed, 0 insertions, 0 deletions
