{"thread":{"id":"49102","subject":"[PATCH] rebase: fix a sparse 'plain integer as NULL pointer' warning","startedAt":"2018-08-11T21:53:02Z","lastAt":"2018-08-11T21:53:02Z","messageCount":1,"participants":["Ramsay Jones"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"355272","messageId":"d5d0f6c3-748b-b83f-f9d4-2812f4509313@ramsayjones.plus.com","threadId":"49102","inReplyTo":null,"subject":"[PATCH] rebase: fix a sparse 'plain integer as NULL pointer' warning","fromName":"Ramsay Jones","fromEmail":"ramsay@ramsayjones.plus.com","sentAt":"2018-08-11T21:52:56Z","receivedAt":"2018-08-11T21:53:02Z","isPatch":true,"sender":{"key":"ramsay@ramsayjones.plus.com","avatar":"https://avatars.githubusercontent.com/u/33702710?v=4"},"body":"\nSigned-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>\n---\n\nHi Pratik,\n\nIf you need to re-roll your 'pk/rebase-in-c-4-opts' branch, could\nyou please squash this into the relevant patch (commit b0721e7b48,\n\"builtin rebase: support `-C` and `--whitespace=<type>`\", 2018-08-08).\n\nThanks!\n\nATB,\nRamsay Jones\n\n builtin/rebase.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/builtin/rebase.c b/builtin/rebase.c\nindex 42f5884ce9..fa7c5582f8 100644\n--- a/builtin/rebase.c\n+++ b/builtin/rebase.c\n@@ -776,7 +776,7 @@ int cmd_rebase(int argc, const char **argv, const char *prefix)\n \t\t\t   N_(\"gpg-sign?\"), N_(\"GPG-sign commits\")),\n \t\tOPT_STRING_LIST(0, \"whitespace\", &whitespace,\n \t\t\t\tN_(\"whitespace\"), N_(\"passed to 'git apply'\")),\n-\t\tOPT_SET_INT('C', 0, &opt_c, N_(\"passed to 'git apply'\"),\n+\t\tOPT_SET_INT('C', NULL, &opt_c, N_(\"passed to 'git apply'\"),\n \t\t\t    REBASE_AM),\n \t\tOPT_BOOL(0, \"autostash\", &options.autostash,\n \t\t\t N_(\"automatically stash/stash pop before and after\")),\n-- \n2.18.0\n"}]}