summaryrefslogtreecommitdiff
path: root/run-command.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-03-02 08:57:26 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-03-02 09:00:30 (GMT)
commitc8c16f2865f7c9c0d59b31ce66d50a4ecae72fd0 (patch)
treee22dd7ada53cc33dcacae5a7c3e32eac3ac39580 /run-command.c
parent2efb3b061709bd204f11d54c177dae89e4af0f67 (diff)
downloadgit-c8c16f2865f7c9c0d59b31ce66d50a4ecae72fd0.zip
git-c8c16f2865f7c9c0d59b31ce66d50a4ecae72fd0.tar.gz
git-c8c16f2865f7c9c0d59b31ce66d50a4ecae72fd0.tar.bz2
diff-lib.c: constness strengthening
The internal implementation of diff-index codepath used to use non const pointer to pass sha1 around, but it did not have to. With this, we can also lose the private no_sha1[] array, as we can use the public null_sha1[] array that exists exactly for the same purpose. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.c')
0 files changed, 0 insertions, 0 deletions