date: recognize bogus FreeBSD gmtime output
[gitweb.git] / send-pack.c
index f50dfd9f488821e6b052affb19c0048afd11109c..97ab336097bfb45c63aec739a6eef2df26cc4790 100644 (file)
@@ -229,6 +229,9 @@ int send_pack(struct send_pack_args *args,
                /* Check for statuses set by set_ref_status_for_push() */
                switch (ref->status) {
                case REF_STATUS_REJECT_NONFASTFORWARD:
+               case REF_STATUS_REJECT_ALREADY_EXISTS:
+               case REF_STATUS_REJECT_FETCH_FIRST:
+               case REF_STATUS_REJECT_NEEDS_FORCE:
                case REF_STATUS_UPTODATE:
                        continue;
                default: