summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorBence Ferdinandy <bence@ferdinandy.com>2024-12-05 13:16:20 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-06 02:59:16 +0900
commitad739f525eec917198887055f1a815e78d7c66be (patch)
tree78701fafadcc1edafc3a3292fa771c36166c39db /git-gui/lib/commit.tcl
parentb7f7d16562c3c5af31d77254577e4afe9bf3e99a (diff)
fetch set_head: move warn advice into advise_if_enabled
Advice about what to do when getting a warning is typed out explicitly twice and is printed as regular output. The output is also tested for. Extract the advice message into a single place and use a wrapper function, so if later the advice is made more chatty the signature only needs to be changed in once place. Remove the testing for the advice output in the tests. Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions