Merge branch 'rd/tag-doc-lightweight'
[gitweb.git] / builtin / clone.c
index 8c5f4d8f074f13c62b7d6d5a3ea4deff80de2d58..99e73dae8595d37f704d0fe7f7fd84a190edfcf6 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);