Re: [PATCH v1] builtin/merge.c - cleanup of code in for-cycle that tests strategies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 6, 2019 at 6:00 PM Edmundo Carmona Antoranz
<eantoranz@xxxxxxxxx> wrote:
> @@ -1645,6 +1631,7 @@ int cmd_merge(int argc, const char **argv, const char *prefix)
>          * auto resolved the merge cleanly.
>          */
>         if (automerge_was_ok) {
> +               write_tree_trivial(&result_tree);
>                 ret = finish_automerge(head_commit, head_subsumed,
>                                        common, remoteheads,
>                                        &result_tree, wt_strategy);

I realized later that the call to write_tree_trivial could be included
in finish_automerge. Will include this change on v2 of the patch (if
there's a v2, depending on feedback).



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux