add -u: only show pathless 'add -u' warning when changes exist outside cwd
[gitweb.git] / builtin / send-pack.c
index f849e0a4a041610dc258a9dc56cc8a357cff31b6..57a46b2654aa82b154d32eb77addd6a4f89c8e8d 100644 (file)
@@ -44,6 +44,16 @@ static void print_helper_status(struct ref *ref)
                        msg = "non-fast forward";
                        break;
 
+               case REF_STATUS_REJECT_FETCH_FIRST:
+                       res = "error";
+                       msg = "fetch first";
+                       break;
+
+               case REF_STATUS_REJECT_NEEDS_FORCE:
+                       res = "error";
+                       msg = "needs force";
+                       break;
+
                case REF_STATUS_REJECT_ALREADY_EXISTS:
                        res = "error";
                        msg = "already exists";