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-08-18 00:07:46 +0300
committerJunio C Hamano <gitster@pobox.com>2016-08-18 00:07:46 +0300
commit2f664566c56db3ddbf12033c2b8f8091b693dc79 (patch)
treec886a3815c3c71e5c25042e55ab151e67ee3348f /git-compat-util.h
parenta6711ed714d5312ebe495b026ce66f6b2ae890e2 (diff)
parentddd0bfac7cfaabc7c0422ecee9604ede9c4841d1 (diff)
Merge branch 'jk/tighten-alloc'
Small code and comment clean-up. * jk/tighten-alloc: receive-pack: use FLEX_ALLOC_MEM in queue_command() correct FLEXPTR_* example in comment
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 590bfddf73..f52e00b580 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -815,7 +815,7 @@ extern FILE *fopen_for_writing(const char *path);
* you can do:
*
* struct foo *f;
- * FLEX_ALLOC_STR(f, name, src);
+ * FLEXPTR_ALLOC_STR(f, name, src);
*
* and "name" will point to a block of memory after the struct, which will be
* freed along with the struct (but the pointer can be repointed anywhere).