summaryrefslogtreecommitdiff
path: root/contrib/emacs
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2018-04-29 00:44:32 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-30 11:12:29 +0900
commit041c98e22d88d963a92f1bac6ab348a0d4c6d228 (patch)
treedd10d466a47000738c132770f6607e39c0583fd4 /contrib/emacs
parentreplace: "libify" create_graft() and callees (diff)
downloadtgif-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 'contrib/emacs')
0 files changed, 0 insertions, 0 deletions