summaryrefslogtreecommitdiff
path: root/contrib/subtree
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-07-26 06:05:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-07-26 06:05:17 (GMT)
commit658ff473cf35217253aa956508ff0e42993711ad (patch)
treea46a6132123f8172c59d1519a7b86f64cc449dcf /contrib/subtree
parent914dc0289d1df75cfa744cea8ec84cb529cbc791 (diff)
downloadgit-658ff473cf35217253aa956508ff0e42993711ad.zip
git-658ff473cf35217253aa956508ff0e42993711ad.tar.gz
git-658ff473cf35217253aa956508ff0e42993711ad.tar.bz2
builtin/rm.c: consolidate error reporting for removing submodules
We have two (not identical) copies of error reporting when attempting to remove submodules that have their repositories embedded within them. Add a helper function so that we do not have to repeat similar error messages with subtly different wording without a good reason. Noticed by Jiang Xin. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/subtree')
0 files changed, 0 insertions, 0 deletions