Merge branch 'as/safecrlf-quiet-fix'
[gitweb.git] / builtin / clone.c
index 05cd23097378db16e4273679e867d051b2b8c63a..74a804f2e814b726c95e8f572f91eba581c6ca4b 100644 (file)
@@ -824,7 +824,7 @@ static void write_refspec_config(const char *src_ref_prefix,
                        } else if (remote_head_points_at) {
                                const char *head = remote_head_points_at->name;
                                if (!skip_prefix(head, "refs/heads/", &head))
-                                       die("BUG: remote HEAD points at non-head?");
+                                       BUG("remote HEAD points at non-head?");
 
                                strbuf_addf(&value, "+%s:%s%s", remote_head_points_at->name,
                                                branch_top->buf, head);