Code

git-svn: cleanup: put SVN workarounds into their own namespace
[git.git] / builtin-push.c
index 2b98ba32310810462151b233053b99b0b5ab627a..979efcc45fca1a39b125e02d14b1f5d096f813ba 100644 (file)
@@ -149,10 +149,10 @@ static int get_remotes_uri(const char *repo, const char *uri[MAX_URI])
                int is_refspec;
                char *s, *p;
 
-               if (!(-prefixcmp(buffer, "URL:"))) {
+               if (!prefixcmp(buffer, "URL:")) {
                        is_refspec = 0;
                        s = buffer + 4;
-               } else if (!(-prefixcmp(buffer, "Push:"))) {
+               } else if (!prefixcmp(buffer, "Push:")) {
                        is_refspec = 1;
                        s = buffer + 5;
                } else