Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
worktree: prepare for more checks of whether path can become worktree
[gitweb.git]
/
builtin
/
am.c
diff --git
a/builtin/am.c
b/builtin/am.c
index 2c19e69f585a46330718ddea1c13a095cefe9d19..9f7ecf6ecb7711c35277fa827c4c2afc0dfba867 100644
(file)
--- a/
builtin/am.c
+++ b/
builtin/am.c
@@
-1464,7
+1464,7
@@
static int run_apply(const struct am_state *state, const char *index_file)
int force_apply = 0;
int options = 0;
- if (init_apply_state(&apply_state, NULL))
+ if (init_apply_state(&apply_state,
the_repository,
NULL))
BUG("init_apply_state() failed");
argv_array_push(&apply_opts, "apply");