summaryrefslogtreecommitdiff
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-06-04 15:01:45 -0700
committerJunio C Hamano <gitster@pobox.com>2024-06-04 15:07:08 -0700
commit607c3d372ef89cf16874c288c60423587286d182 (patch)
tree37ad93d8f07b1b3b45ef00f6da5e1b385495c5f1 /builtin/commit-graph.c
parentb773fb882231cd8fac4ce37ffb5a8b1d985f37ea (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 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions