diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-07-14 10:35:54 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-15 19:56:08 +0200 |
commit | 9b2d61499b4ff9ded3e1f3d535912ce04c21d72e (patch) | |
tree | e828bd2fda526aba362a7479bcad8672d13b3865 /builtin/commit.c | |
parent | convert report_path_error to take struct pathspec (diff) | |
download | git-9b2d61499b4ff9ded3e1f3d535912ce04c21d72e.tar.xz git-9b2d61499b4ff9ded3e1f3d535912ce04c21d72e.zip |
convert refresh_index to take struct pathspec
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
-rw-r--r-- | builtin/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c index eaecf7c494..d34baaba0e 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -1244,7 +1244,7 @@ int cmd_status(int argc, const char **argv, const char *prefix) prefix, argv); read_cache_preload(&s.pathspec); - refresh_index(&the_index, REFRESH_QUIET|REFRESH_UNMERGED, s.pathspec.raw, NULL, NULL); + refresh_index(&the_index, REFRESH_QUIET|REFRESH_UNMERGED, &s.pathspec, NULL, NULL); fd = hold_locked_index(&index_lock, 0); if (0 <= fd) |