Commit 6b7665acf3ac9dd7d0c30372df5a4fa09b1b47fa

Omar Polo 2022-05-02T09:31:24

s/empty/done forgot in previous commit

diff --git a/libexec/got-read-patch/got-read-patch.c b/libexec/got-read-patch/got-read-patch.c
index f52ad65..074b5cb 100644
--- a/libexec/got-read-patch/got-read-patch.c
+++ b/libexec/got-read-patch/got-read-patch.c
@@ -123,7 +123,7 @@ filename(const char *at, char **name)
 }
 
 static const struct got_error *
-find_patch(int *empty, FILE *fp)
+find_patch(int *done, FILE *fp)
 {
 	const struct got_error *err = NULL;
 	char	*old = NULL, *new = NULL;
@@ -164,7 +164,7 @@ find_patch(int *empty, FILE *fp)
 		 * line.
 		 */
 		if (rename && old != NULL && new != NULL) {
-			*empty = 1;
+			*done = 1;
 			err = send_patch(old, new, git);
 			break;
 		}