aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-07-13 18:57:42 -0700
committerJunio C Hamano <gitster@pobox.com>2011-07-13 21:58:21 -0700
commitbf979c07c728b9d4f2691a023b3f358610808789 (patch)
treeb0fe9d950219e9e765355c3d57f95e83ee429aee /builtin/commit.c
parentdiff-lib: simplify do_diff_cache() (diff)
downloadgit-bf979c07c728b9d4f2691a023b3f358610808789.tar.gz
git-bf979c07c728b9d4f2691a023b3f358610808789.zip
diff-lib: refactor run_diff_index() and do_diff_cache()
The latter is meant to be an API for internal callers that want to inspect the resulting diff-queue, while the former is an implementation of "git diff-index" command. Extract the common logic into a single helper function and make them thin wrappers around it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions