diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-06-04 15:01:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-06-04 15:07:08 -0700 |
commit | b773fb882231cd8fac4ce37ffb5a8b1d985f37ea (patch) | |
tree | 1f4c95a7d4fb5c3a5502f1a4df3b9ab2e02d5ec2 /commit-graph.c | |
parent | a096e70c78353e338975b880b7468b79b819f291 (diff) |
ls-remote: 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 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions