summaryrefslogtreecommitdiff
path: root/diff-lib.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-06-02 05:54:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-06-02 15:48:41 (GMT)
commit1282988b4d3d37926050a5f21ad4f7516d9a2d7f (patch)
treee47ac3ce5400e8da57a55a61cee16bf72f0f4f45 /diff-lib.c
parent2381e39e5ff740883b98c5aca019950f9167b67f (diff)
downloadgit-1282988b4d3d37926050a5f21ad4f7516d9a2d7f.zip
git-1282988b4d3d37926050a5f21ad4f7516d9a2d7f.tar.gz
git-1282988b4d3d37926050a5f21ad4f7516d9a2d7f.tar.bz2
status: fix bug with missing --ignore files
Commit 1b908b6 (wt-status: rename and restructure status-print-untracked, 2010-04-10) converted the wt_status_print_untracked function into wt_status_print_other, taking a string_list of either untracked or ignored items to print. However, the "nothing to show" early return still checked the wt_status->untracked list instead of the passed-in list. That meant that if we had ignored items to show, but no untracked items, we would erroneously exit early and fail to show the ignored items. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-lib.c')
0 files changed, 0 insertions, 0 deletions