setup: clarify error messages for file/revisions ambiguity
commit4d4b573977833f887635be386b84681e73834b72
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Fri, 3 Aug 2012 08:21:20 +0000 (3 10:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 3 Aug 2012 16:06:30 +0000 (3 09:06 -0700)
treec78a9ff689dfd8421fffa1faefb8f6148d2c4d70
parent0e4c8822e98e27c3c63125570c8bcbf0a8fd34da
setup: clarify error messages for file/revisions ambiguity

The previous "Use '--' to separate filenames from revisions" may sound
obvious for an old-time Unix user, but does not make it clear how to use
this '--'. In addition to mentionning this '--', give an idea of what the
new command should look like.

Ideally, we could provide cut-and-paste ready commands based on the
command that just failed, but we have no easy access to argv[] in this
place of the code.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
setup.c