diff options
| author | Johan Herland <johan@herland.net> | 2010-02-13 22:28:35 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2010-02-13 19:36:16 -0800 |
| commit | 348f199b2d9250a82453323c90b7e8d3d9462220 (patch) | |
| tree | 8488d43362495adda6d99893ac339f11829d5992 /builtin/commit.c | |
| parent | builtin-notes: Deprecate the -m/-F options for "git notes edit" (diff) | |
| download | git-348f199b2d9250a82453323c90b7e8d3d9462220.tar.gz git-348f199b2d9250a82453323c90b7e8d3d9462220.zip | |
builtin-notes: Refactor handling of -F option to allow combining -m and -F
By moving the -F option handling into a separate function (parse_file_arg),
we can start allowing several -F options, and mixed usage of -m and -F
options. Each -m/-F given appends to the note message, in the order they are
given on the command-line.
The patch includes tests verifying correct behaviour of the new functionality.
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
