Hi Junio,
On Thu, 25 Aug 2016, Junio C Hamano wrote:
> > if (write_cache_as_tree(head, 0, NULL))
> > - die (_("Your index file is unmerged."));
> > + return error (_("Your index file is unmerged."));
>
> While you are touching the line, it is a goo
Johannes Schindelin writes:
> To be truly useful, the sequencer should never die() but always return
> an error.
>
> Signed-off-by: Johannes Schindelin
> ---
Instead of dying there, you let the caller high up in the callchain
to notice the error and handle it (by dying). The eventual caller
of
To be truly useful, the sequencer should never die() but always return
an error.
Signed-off-by: Johannes Schindelin
---
sequencer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sequencer.c b/sequencer.c
index 0c8c955..6ac2187 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -
3 matches
Mail list logo