{"thread":{"id":"65228","subject":"[PATCH] Signed-off-by: aum2357 <ahambrahmasmi2357@gmail.com>","startedAt":"2026-03-13T13:33:51Z","lastAt":"2026-03-13T13:33:51Z","messageCount":1,"participants":["aum2357"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"538886","messageId":"20260313133413.562343-1-ahambrahmasmi2357@gmail.com","threadId":"65228","inReplyTo":null,"subject":"[PATCH] Signed-off-by: aum2357 <ahambrahmasmi2357@gmail.com>","fromName":"aum2357","fromEmail":"aditya2357patel@gmail.com","sentAt":"2026-03-13T13:34:12Z","receivedAt":"2026-03-13T13:33:51Z","isPatch":true,"sender":{"key":"aditya2357patel@gmail.com","avatar":null},"body":"diff: use conventional comparison order\n\nReplace `0 <= addremove_explicit` with `addremove_explicit >= 0`\nto follow the common coding style where variables appear on the\nleft side of comparisons.\n---\n builtin/add.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/builtin/add.c b/builtin/add.c\nindex 0ee21692c2..ad0d6047af 100644\n--- a/builtin/add.c\n+++ b/builtin/add.c\n@@ -432,7 +432,7 @@ int cmd_add(int argc,\n \targc--;\n \targv++;\n \n-\tif (0 <= addremove_explicit)\n+\tif ( addremove_explicit >= 0 )\n \t\taddremove = addremove_explicit;\n \telse if (take_worktree_changes && ADDREMOVE_DEFAULT)\n \t\taddremove = 0; /* \"-u\" was given but not \"-A\" */\n-- \n2.53.0\n\n"}]}