summaryrefslogtreecommitdiff
path: root/advice.h
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2018-11-13 19:52:42 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-14 15:27:55 +0900
commit04d17287a0e0161e5a0accd8ab781135bd672c98 (patch)
tree30e92f6988b5c92a25fefdeb9fb72691992abd23 /advice.h
parentpush: improve the error shown on unqualified <dst> push (diff)
downloadtgif-04d17287a0e0161e5a0accd8ab781135bd672c98.tar.xz
push: move unqualified refname error into a function
A follow-up change will extend this error message with the advice facility. Doing so would make the indentation too deeply nested for comfort. So let's split this into a helper function. There's no changes to the wording here. Just code moving & re-indentation, and re-flowing the "TRANSLATORS" comment. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'advice.h')
0 files changed, 0 insertions, 0 deletions