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
path: root/path.h
diff options
context:
space:
mode:
authorBeat Bolli <dev+git@drbeat.li>2018-07-09 22:25:35 +0300
committerJunio C Hamano <gitster@pobox.com>2018-07-10 00:37:03 +0300
commit9ad36356dd13b53667a51020c9aef0d4e014af01 (patch)
tree563925bc4355ec14557fdb5aac69c66e229d9bab /path.h
parent8302f50e8ce687fbb09d8639ef87c0d35fd671b9 (diff)
sequencer.c: avoid empty statements at top level
The macro GIT_PATH_FUNC expands to a function definition that ends with a closing brace. Remove two extra semicolons. While at it, fix the example in path.h. Signed-off-by: Beat Bolli <dev+git@drbeat.li> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'path.h')
-rw-r--r--path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/path.h b/path.h
index 1ccd0373c9..fc9d3487a0 100644
--- a/path.h
+++ b/path.h
@@ -147,7 +147,7 @@ extern void report_linked_checkout_garbage(void);
/*
* You can define a static memoized git path like:
*
- * static GIT_PATH_FUNC(git_path_foo, "FOO");
+ * static GIT_PATH_FUNC(git_path_foo, "FOO")
*
* or use one of the global ones below.
*/