]> git.ipfire.org Git - thirdparty/git.git/blobdiff - convert-objects.c
Remove case-sensitive file in t3030-merge-recursive.
[thirdparty/git.git] / convert-objects.c
index cf03bcfe5aa4f95ec4b6384bc38d63b1e453f731..cefbcebdcaa0a085745c81b2ed1103e9575cb635 100644 (file)
@@ -88,7 +88,7 @@ static int write_subdirectory(void *buffer, unsigned long size, const char *base
                unsigned int mode;
                char *slash, *origpath;
 
-               if (!path || strtoul_ui(buffer, 8, &mode) != 1)
+               if (!path || strtoul_ui(buffer, 8, &mode))
                        die("bad tree conversion");
                mode = convert_mode(mode);
                path++;