]> git.ipfire.org Git - thirdparty/git.git/commit - remote.c
push: move unqualified refname error into a function
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 13 Nov 2018 19:52:42 +0000 (19:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2018 06:27:55 +0000 (15:27 +0900)
commit04d17287a0e0161e5a0accd8ab781135bd672c98
tree30e92f6988b5c92a25fefdeb9fb72691992abd23
parentc83cca3f74f3fcc28b9742a92720bea8a1c3915c
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>
remote.c