diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2019-08-19 09:18:23 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-08-19 22:27:19 (GMT) |
commit | b0a3186140dbc7bd64cbc6ef733386a0f1eb6a4d (patch) | |
tree | dca218a7c44a32e2984ad1a22b190233d9115b36 /t | |
parent | a47ba3c77713d04953e0630f8e7109084329078a (diff) | |
download | git-b0a3186140dbc7bd64cbc6ef733386a0f1eb6a4d.zip git-b0a3186140dbc7bd64cbc6ef733386a0f1eb6a4d.tar.gz git-b0a3186140dbc7bd64cbc6ef733386a0f1eb6a4d.tar.bz2 |
sequencer: simplify root commit creation
Adapt try_to_commit() to create a new root commit rather than special
casing this in run_git_commit(). This significantly reduces the amount of
special case code for creating the root commit and reduces the number of
commit code paths we have to worry about.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions