diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-05-13 21:19:18 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-13 21:19:18 +0200 |
commit | 896833b2687ce09a4965e5b4f3992daad096a65b (patch) | |
tree | 5edc5ea6874a06b4f78856339b3fab204dcaaa96 /builtin/rev-parse.c | |
parent | The eighth batch (diff) | |
parent | shallow: use struct 'shallow_lock' for additional safety (diff) | |
download | git-896833b2687ce09a4965e5b4f3992daad096a65b.tar.xz git-896833b2687ce09a4965e5b4f3992daad096a65b.zip |
Merge branch 'tb/shallow-cleanup'
Code cleanup.
* tb/shallow-cleanup:
shallow: use struct 'shallow_lock' for additional safety
shallow.h: document '{commit,rollback}_shallow_file'
shallow: extract a header file for shallow-related functions
commit: make 'commit_graft_pos' non-static
Diffstat (limited to 'builtin/rev-parse.c')
-rw-r--r-- | builtin/rev-parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/rev-parse.c b/builtin/rev-parse.c index 06056434ed..669dd2fd6f 100644 --- a/builtin/rev-parse.c +++ b/builtin/rev-parse.c @@ -16,6 +16,7 @@ #include "split-index.h" #include "submodule.h" #include "commit-reach.h" +#include "shallow.h" #define DO_REVS 1 #define DO_NOREV 2 |