diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-06-27 16:28:49 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-27 12:45:17 -0700 |
commit | 50ddb089ff68dfe1e3d9bd9a108d9015c176f761 (patch) | |
tree | 521e1975379ac6f30c33a8ebe59e5b1d9ad0852f /archive.c | |
parent | 5e575807337d15dbecf88767e709df08304e3b94 (diff) | |
download | git-50ddb089ff68dfe1e3d9bd9a108d9015c176f761.tar.gz |
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")); |