Commit 3fd4eb5ab97dd3b1914bfe46f5b6a7bc1bd1ec81

Stefan Sperling 2019-11-23T10:13:53

fold a function call onto a single line

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/lib/worktree.c b/lib/worktree.c
index 69f0ca5..7f53773 100644
--- a/lib/worktree.c
+++ b/lib/worktree.c
@@ -2830,8 +2830,7 @@ schedule_addition(void *arg, unsigned char status, unsigned char staged_status,
 	}
 
 	free(path);
-	return (*a->progress_cb)(a->progress_arg,
-		    GOT_STATUS_ADD, relpath);
+	return (*a->progress_cb)(a->progress_arg, GOT_STATUS_ADD, relpath);
 done:
 	free(path);
 	return err;