diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-06-04 15:01:45 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-06-04 15:07:08 -0700 |
| commit | 607c3d372ef89cf16874c288c60423587286d182 (patch) | |
| tree | 37ad93d8f07b1b3b45ef00f6da5e1b385495c5f1 /t/unit-tests/u-oid-array.c | |
| parent | b773fb882231cd8fac4ce37ffb5a8b1d985f37ea (diff) | |
show-ref: introduce --branches and deprecate --heads
We call the tips of branches "heads", but this command calls the
option to show only branches "--heads", which confuses the branches
themselves and the tips of branches.
Straighten the terminology by introducing "--branches" option that
limits the output to branches, and deprecate "--heads" option used
that way.
We do not plan to remove "--heads" or "-h" yet; we may want to do so
at Git 3.0, in which case, we may need to start advertising upcoming
removal with an extra warning when they are used.
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
