diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-08-15 14:04:16 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-08-16 14:43:59 -0700 |
commit | 36f048c5e488005da0a9dfba6b617c7c9951c7cf (patch) | |
tree | ee859ed5ef5bfb9358967e87ce69a1f8ba84856a /contrib | |
parent | 5800c63717ae35286a1441f14ffff753e01f7e2b (diff) | |
download | git-36f048c5e488005da0a9dfba6b617c7c9951c7cf.tar.gz git-36f048c5e488005da0a9dfba6b617c7c9951c7cf.tar.xz |
sha1dc: build git plumbing code more explicitly
The plumbing code between sha1dc and git is defined in
sha1dc_git.[ch], but these aren't compiled / included directly but
only via the indirect inclusion from sha1dc code. This is slightly
confusing when you try to trace the build flow.
This patch brings the following changes for simplification:
- Make sha1dc_git.c stand-alone and build from Makefile
- sha1dc_git.h is the common header to include further sha1.h
depending on the build condition
- Move comments for plumbing codes from the header to definitions
This is also meant as a preliminary work for further plumbing with
external sha1dc shlib.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions