diff options
| author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2024-02-23 08:34:20 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-02-23 10:19:39 -0800 |
| commit | d4bf19308b81653cfb0d7b54489010dc1e0113b0 (patch) | |
| tree | 83fade25eca331c2ac36678dfb49b37af07cdc89 /builtin/commit.c | |
| parent | merge-tree: accept 3 trees as arguments (diff) | |
| download | git-d4bf19308b81653cfb0d7b54489010dc1e0113b0.tar.gz git-d4bf19308b81653cfb0d7b54489010dc1e0113b0.zip | |
merge-tree: fail with a non-zero exit code on missing tree objects
When `git merge-tree` encounters a missing tree object, it should error
out and not continue quietly as if nothing had happened.
However, as of time of writing, `git merge-tree` _does_ continue, and
then offers the empty tree as result.
Let's fix this.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
