summaryrefslogtreecommitdiff
path: root/credential-store.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2014-10-01 10:28:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-10-01 20:56:14 (GMT)
commit697cc8efd944a32ca472337cd6640004c474b788 (patch)
treea8999149e7e907e2b65b6617bd5d45d6c675a72e /credential-store.c
parent216aab1e3d8eef088dc9785febce24a110e9f835 (diff)
downloadgit-697cc8efd944a32ca472337cd6640004c474b788.zip
git-697cc8efd944a32ca472337cd6640004c474b788.tar.gz
git-697cc8efd944a32ca472337cd6640004c474b788.tar.bz2
lockfile.h: extract new header file for the functions in lockfile.c
Move the interface declaration for the functions in lockfile.c from cache.h to a new file, lockfile.h. Add #includes where necessary (and remove some redundant includes of cache.h by files that already include builtin.h). Move the documentation of the lock_file state diagram from lockfile.c to the new header file. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'credential-store.c')
-rw-r--r--credential-store.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/credential-store.c b/credential-store.c
index f9146e5..d435514 100644
--- a/credential-store.c
+++ b/credential-store.c
@@ -1,4 +1,5 @@
#include "cache.h"
+#include "lockfile.h"
#include "credential.h"
#include "string-list.h"
#include "parse-options.h"