Skip to content

Commit aa9b3b2

Browse files
avargitster
authored andcommitted
sha1dc_git.h: re-arrange an ifdef chain for a subsequent change
A subsequent change will change the semantics of DC_SHA1_SUBMODULE in a way that would require moving these checks around, so start by moving them around without any functional changes to reduce the size of the subsequent patch. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent bc2ed31 commit aa9b3b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sha1dc_git.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* Plumbing with collition-detecting SHA1 code */
22

3-
#ifdef DC_SHA1_SUBMODULE
4-
#include "sha1collisiondetection/lib/sha1.h"
5-
#elif defined(DC_SHA1_EXTERNAL)
3+
#ifdef DC_SHA1_EXTERNAL
64
#include <sha1dc/sha1.h>
5+
#elif defined(DC_SHA1_SUBMODULE)
6+
#include "sha1collisiondetection/lib/sha1.h"
77
#else
88
#include "sha1dc/sha1.h"
99
#endif

0 commit comments

Comments
 (0)