diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-06-27 11:28:49 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-27 21:45:17 +0200 |
commit | 50ddb089ff68dfe1e3d9bd9a108d9015c176f761 (patch) | |
tree | 521e1975379ac6f30c33a8ebe59e5b1d9ad0852f /archive.c | |
parent | tree-walk.c: remove the_repo from fill_tree_descriptor() (diff) | |
download | git-50ddb089ff68dfe1e3d9bd9a108d9015c176f761.tar.xz git-50ddb089ff68dfe1e3d9bd9a108d9015c176f761.zip |
tree-walk.c: remove the_repo from get_tree_entry()
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 'archive.c')
-rw-r--r-- | archive.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -418,7 +418,9 @@ static void parse_treeish_arg(const char **argv, unsigned short mode; int err; - err = get_tree_entry(&tree->object.oid, prefix, &tree_oid, + err = get_tree_entry(ar_args->repo, + &tree->object.oid, + prefix, &tree_oid, &mode); if (err || !S_ISDIR(mode)) die(_("current working directory is untracked")); |