[PATCH] git-branch: avoid getting confused by empty or nonexisting branches.
[gitweb.git] / diff-helper.c
index 63aff6969863f6fb3da94c9866067e1c779831a3..6649fb548f798c84342168b8ef9fe9211093fbfc 100644 (file)
@@ -17,7 +17,7 @@ static void flush_them(int ac, const char **av)
        diffcore_std_no_resolve(av + 1,
                                pickaxe, pickaxe_opts,
                                orderfile, diff_filter);
-       diff_flush(DIFF_FORMAT_PATCH);
+       diff_flush(DIFF_FORMAT_PATCH, '\n');
 }
 
 static const char *diff_helper_usage =