summaryrefslogtreecommitdiff
path: root/parse-options.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-03-28 21:52:28 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-03-28 21:52:28 -0700
commit99f5b0845ac53f9f6e845fe4401e68fcef154690 (patch)
tree5647dacc82fa90cb8de24ec4f4b9abea249707cf /parse-options.h
parentMerge branch 'sb/notes-parse-opt' (diff)
parentrevert: fix tiny memory leak in cherry-pick --ff (diff)
downloadtgif-99f5b0845ac53f9f6e845fe4401e68fcef154690.tar.xz
Merge branch 'cc/cherry-pick-ff'
* cc/cherry-pick-ff: revert: fix tiny memory leak in cherry-pick --ff rebase -i: use new --ff cherry-pick option Documentation: describe new cherry-pick --ff option cherry-pick: add tests for new --ff option revert: add --ff option to allow fast forward when cherry-picking builtin/merge: make checkout_fast_forward() non static parse-options: add parse_options_concat() to concat options
Diffstat (limited to 'parse-options.h')
-rw-r--r--parse-options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse-options.h b/parse-options.h
index 9429f7e361..7581e931da 100644
--- a/parse-options.h
+++ b/parse-options.h
@@ -187,6 +187,7 @@ extern int parse_options_step(struct parse_opt_ctx_t *ctx,
extern int parse_options_end(struct parse_opt_ctx_t *ctx);
+extern int parse_options_concat(struct option *dst, size_t, struct option *src);
/*----- some often used options -----*/
extern int parse_opt_abbrev_cb(const struct option *, const char *, int);