summaryrefslogtreecommitdiff
path: root/t/t7609-merge-co-error-msgs.sh
diff options
context:
space:
mode:
authorLibravatar John Szakmeister <john@szakmeister.net>2014-10-14 06:49:45 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-10-14 13:06:13 -0700
commit8f7ff5b2fe7f52966c034a12cf8980dae1160222 (patch)
treeab5a656ac4e0c0e2f766850f40edf36c60fd8c65 /t/t7609-merge-co-error-msgs.sh
parentUpdate draft release notes to 2.2 (diff)
downloadtgif-8f7ff5b2fe7f52966c034a12cf8980dae1160222.tar.xz
completion: silence "fatal: Not a git repository" error
It is possible that a user is trying to run a git command and fail to realize that they are not in a git repository or working tree. When trying to complete an operation, __git_refs would fall to a degenerate case and attempt to use "git for-each-ref", which would emit the error. Hide this error message coming from "git for-each-ref". Signed-off-by: John Szakmeister <john@szakmeister.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7609-merge-co-error-msgs.sh')
0 files changed, 0 insertions, 0 deletions