THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

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 <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
tags/v2.17.0-rc0
Ævar Arnfjörð Bjarmason Junio C Hamano 1 year ago
parent
commit
aa9b3b25c6
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      sha1dc_git.h

+ 3
- 3
sha1dc_git.h View File

@@ -1,9 +1,9 @@
/* Plumbing with collition-detecting SHA1 code */

#ifdef DC_SHA1_SUBMODULE
#include "sha1collisiondetection/lib/sha1.h"
#elif defined(DC_SHA1_EXTERNAL)
#ifdef DC_SHA1_EXTERNAL
#include <sha1dc/sha1.h>
#elif defined(DC_SHA1_SUBMODULE)
#include "sha1collisiondetection/lib/sha1.h"
#else
#include "sha1dc/sha1.h"
#endif


Loading…
Cancel
Save