diff options
| author | Kristoffer Haugsbakk <code@khaugsbakk.name> | 2026-05-11 17:45:47 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-05-12 09:09:50 +0900 |
| commit | e2916329dbea62d033091a625340d3d79b686dc6 (patch) | |
| tree | 472c55b308704cac4c3882e9cbe86b91acc3fba3 /git-commit-script | |
| parent | b9c1be43eb30084570781569920a92799afdceaf (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 'git-commit-script')
0 files changed, 0 insertions, 0 deletions
