Thread (8 messages) flat view 8 messages, 5 authors, 2021-09-07

Re: [PATCH 2/3] Die if filter is attempted without a worktree

From: Bagas Sanjaya <hidden>
Date: 2021-09-07 08:18:25

On 07/09/21 01.10, Calum McConnell wrote:
+	/* The results of a nonexistent worktree could be... weird.  Lets avoid*/
+	if(dict[1].value == NULL){
+		BUG("There is no worktree for this worktree substitution");
+	}
+
Why don't simply print that error message without BUG() (aka using 
die(_("message"))? It can be l10n-ed if you using the approach.

-- 
An old man doll... just what I always wanted! - Clara
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help