summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorKristoffer Haugsbakk <code@khaugsbakk.name>2026-05-11 17:45:47 +0200
committerJunio C Hamano <gitster@pobox.com>2026-05-12 09:09:50 +0900
commite2916329dbea62d033091a625340d3d79b686dc6 (patch)
tree472c55b308704cac4c3882e9cbe86b91acc3fba3 /t/t4013/diff.diff_initial..side
parentb9c1be43eb30084570781569920a92799afdceaf (diff)
name-rev: factor code for sharing with a new command
We are about to introduce a new command git-format-rev(1) to this file. Let’s factor some code so that we can share it with the new command. We want to be able to format commits found in freeform text, and git-name-rev(1) already has a function for that but for symbolic names. Let’s use a tagged union for the command-specific payload. No functional changes. Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions