diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-10-07 18:08:34 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-07 09:29:31 -0700 |
commit | ea63b393ec76484690733d6f589c9e67fedbaa78 (patch) | |
tree | 7b6c869d072dca69598d0190c5de8be8db3e43c8 /wt-status.c | |
parent | pull: drop confusing prefix parameter of die_on_unclean_work_tree() (diff) | |
download | tgif-ea63b393ec76484690733d6f589c9e67fedbaa78.tar.xz |
pull: make code more similar to the shell script again
When converting the pull command to a builtin, the
require_clean_work_tree() function was renamed and the pull-specific
parts hard-coded.
This makes it impossible to reuse the code, so let's modify the code to
make it more similar to the original shell script again.
Note: when the hint "Please commit or stash them" was introduced first,
Git did not have the convention of continuing error messages in lower
case, but now we do have that convention, therefore we reintroduce this
hint down-cased, obeying said convention.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wt-status.c')
0 files changed, 0 insertions, 0 deletions