Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-09-27 02:09:21 +0300
committerJunio C Hamano <gitster@pobox.com>2016-09-27 02:09:21 +0300
commite683f17e6319b461def179b84d20dbcca546018a (patch)
tree83b8f3984ff989409a57073d754f3b42d75507a9 /cache.h
parent48b21818ca5069285145b2fdb98f2e355637bb06 (diff)
parent68e3d6292f27f123c072175748183c9cb9bc1c70 (diff)
Merge branch 'rs/checkout-init-macro'
Code cleanup. * rs/checkout-init-macro: introduce CHECKOUT_INIT
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 1a56f81f33..ed3d5dfce1 100644
--- a/cache.h
+++ b/cache.h
@@ -1356,6 +1356,7 @@ struct checkout {
not_new:1,
refresh_cache:1;
};
+#define CHECKOUT_INIT { NULL, "" }
#define TEMPORARY_FILENAME_LENGTH 25
extern int checkout_entry(struct cache_entry *ce, const struct checkout *state, char *topath);