summaryrefslogtreecommitdiff
path: root/templates/info--exclude
diff options
context:
space:
mode:
authorLibravatar Lucien Kong <Lucien.Kong@ensimag.imag.fr>2012-06-05 22:21:26 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-06-14 10:15:19 -0700
commit96b0ec1a4c3cafd17bc397c9ac836950c316dab6 (patch)
tree3aa766c75682669370119da624300399d34e0e4e /templates/info--exclude
parentt7512-status-help.sh: better advices for git status (diff)
downloadtgif-96b0ec1a4c3cafd17bc397c9ac836950c316dab6.tar.xz
status: don't suggest "git rm" or "git add" if not appropriate
The display of the advice '(use git add/rm [...])' (when there are unmerged files) after running 'git status' is now depending of the mark, whether it's 'both deleted', 'deleted by us/them' or others. For instance, when there is just one file that's marked as 'both deleted', 'git status' shows '(use git rm [...])' and if there are two files, one as 'both deleted' and the other as 'added by them', the advice is '(use git add/rm [...])'. The previous tests in t7512-status-help.sh are updated. Test about the case of only 'both deleted' is added in t7060-wtstatus.sh Signed-off-by: Lucien Kong <Lucien.Kong@ensimag.imag.fr> Signed-off-by: Valentin Duperray <Valentin.Duperray@ensimag.imag.fr> Signed-off-by: Franck Jonas <Franck.Jonas@ensimag.imag.fr> Signed-off-by: Thomas Nguy <Thomas.Nguy@ensimag.imag.fr> Signed-off-by: Huynh Khoi Nguyen Nguyen <Huynh-Khoi-Nguyen.Nguyen@ensimag.imag.fr> Signed-off-by: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/info--exclude')
0 files changed, 0 insertions, 0 deletions