author | Carlos Martín Nieto <cmn@elego.de> | |
Sun, 4 Mar 2012 04:41:26 +0000 (05:41 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 5 Mar 2012 07:00:57 +0000 (23:00 -0800) | ||
commit | 3c02396adc0d8836bccc4fbc95edbb3ca8c1f508 | |
tree | 9e90909d778d21ddc608c1a13eeb6bf49d537cf3 | tree | snapshot |
parent | 222433ee4b57750174875ce6b252d10c009a1fa9 | commit | diff |
Make git-{pull,rebase} message without tracking information friendlier
The current message is too long and at too low a level for anybody
to understand it if they don't know about the configuration format
already.
The text about setting up a remote is superfluous and doesn't help
understand or recover from the error that has happened. Show the
usage more prominently and explain how to set up the tracking
information. If there is only one remote, that name is used instead
of the generic <remote>.
Also simplify the message we print on detached HEAD to remove
unnecessary information which is better left for the documentation.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The current message is too long and at too low a level for anybody
to understand it if they don't know about the configuration format
already.
The text about setting up a remote is superfluous and doesn't help
understand or recover from the error that has happened. Show the
usage more prominently and explain how to set up the tracking
information. If there is only one remote, that name is used instead
of the generic <remote>.
Also simplify the message we print on detached HEAD to remove
unnecessary information which is better left for the documentation.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-parse-remote.sh | diff | blob | history | |
git-pull.sh | diff | blob | history | |
git-rebase.sh | diff | blob | history | |
t/t3400-rebase.sh | diff | blob | history |