diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-04-29 00:44:32 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-30 11:12:29 +0900 |
commit | 041c98e22d88d963a92f1bac6ab348a0d4c6d228 (patch) | |
tree | dd10d466a47000738c132770f6607e39c0583fd4 /git-gui/macosx | |
parent | replace: "libify" create_graft() and callees (diff) | |
download | tgif-041c98e22d88d963a92f1bac6ab348a0d4c6d228.tar.xz |
replace: prepare create_graft() for converting graft files wholesale
When converting all grafts in a graft file to replace refs, and one of
them happens to leave the original commit's parents unchanged, we do not
want to error out. Instead, we would like to issue a warning.
Prepare the create_graft() function for such a use case by adding a
`gentle` parameter. If set, we do not return an error when the replace ref
is unchanged, but a mere warning.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/macosx')
0 files changed, 0 insertions, 0 deletions