summaryrefslogtreecommitdiff
path: root/builtin/checkout-index.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-10-30 19:10:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-10-30 19:10:56 (GMT)
commitc02e1e4a079dd8c3cd7ec21e82403867ebf22c19 (patch)
treee2431e759096e0428c6c919d6e39ce1dc2e0bdc7 /builtin/checkout-index.c
parentf9891802624a99b84e5504cb166ee9ffcb6d976d (diff)
parentaf2a651d2ecb3967244c9a44a5813a0cf9977df5 (diff)
downloadgit-c02e1e4a079dd8c3cd7ec21e82403867ebf22c19.zip
git-c02e1e4a079dd8c3cd7ec21e82403867ebf22c19.tar.gz
git-c02e1e4a079dd8c3cd7ec21e82403867ebf22c19.tar.bz2
Merge branch 'nd/lift-path-max'
* nd/lift-path-max: checkout_entry(): clarify the use of topath[] parameter entry.c: convert checkout_entry to use strbuf
Diffstat (limited to 'builtin/checkout-index.c')
-rw-r--r--builtin/checkout-index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/checkout-index.c b/builtin/checkout-index.c
index 69e167b..61e75eb 100644
--- a/builtin/checkout-index.c
+++ b/builtin/checkout-index.c
@@ -14,7 +14,7 @@
static int line_termination = '\n';
static int checkout_stage; /* default to checkout stage0 */
static int to_tempfile;
-static char topath[4][PATH_MAX + 1];
+static char topath[4][TEMPORARY_FILENAME_LENGTH + 1];
static struct checkout state;