Commit Diff


commit - 91c986ef6c872dac66c9cfb6709e05543bdda6e5
commit + f0e4a7b742fea06dc9eb4ebd8749a59ac84a55f6
blob - 0a8cb93ba6e69957b761f1acb9c87b4aeb315c61
blob + f6557150155aa8359bc005a868d34a0d67dd60c6
--- lib/worktree.c
+++ lib/worktree.c
@@ -144,7 +144,8 @@ got_worktree_init(const char *path, struct got_referen
 	}
 
 	/* Store path to repository. */ 
-	if (asprintf(&repopath, "%s/%s", gotpath, GOT_WORKTREE_REPOSITORY) == -1) {
+	if (asprintf(&repopath, "%s/%s", gotpath, GOT_WORKTREE_REPOSITORY)
+	    == -1) {
 		err = got_error(GOT_ERR_NO_MEM);
 		goto done;
 	}