commit - d75b95736e173f91a380719d1d974cf326335c06
commit + 6b7665acf3ac9dd7d0c30372df5a4fa09b1b47fa
blob - f52ad654228e0ebd0a2dbc9fbda2e21ce3f3fd62
blob + 074b5cb8fcd2962ea86e2b829b0b0817f69b8835
--- libexec/got-read-patch/got-read-patch.c
+++ libexec/got-read-patch/got-read-patch.c
}
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;
* line.
*/
if (rename && old != NULL && new != NULL) {
- *empty = 1;
+ *done = 1;
err = send_patch(old, new, git);
break;
}