Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t0061: adjust to test-tool transition
[gitweb.git]
/
worktree.c
diff --git
a/worktree.c
b/worktree.c
index 28989cf06ef4bd15b3b97f86ae9fd32c4b78401f..97cda5f97bbc10b2f5690b945ab42d2beef74e2e 100644
(file)
--- a/
worktree.c
+++ b/
worktree.c
@@
-338,7
+338,7
@@
void update_worktree_location(struct worktree *wt, const char *path_)
struct strbuf path = STRBUF_INIT;
if (is_main_worktree(wt))
-
die("BUG:
can't relocate main worktree");
+
BUG("
can't relocate main worktree");
strbuf_realpath(&path, path_, 1);
if (fspathcmp(wt->path, path.buf)) {