diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2015-04-10 11:38:07 +0200 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-04-10 11:38:07 +0200 |
| commit | 623fbd93f1a7538df0c9a433df68f87bbd58b803 (patch) | |
| tree | 48411be1dd99a979f789107d4de1d0051b93557e /src/tree.c | |
| parent | 63af449e24125b050dbad3530c3ec64e2e4ee754 (diff) | |
| parent | c84a9dd2da864a975b5dee408e3edaf84422b828 (diff) | |
| download | libgit2-623fbd93f1a7538df0c9a433df68f87bbd58b803.tar.gz | |
Merge pull request #2974 from libgit2/cmn/clone-everything
Make sure to pack referenced objects for non-branches
Diffstat (limited to 'src/tree.c')
| -rw-r--r-- | src/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tree.c b/src/tree.c index 47ed20dbb..bdd17661b 100644 --- a/src/tree.c +++ b/src/tree.c @@ -858,7 +858,7 @@ int git_tree_entry_bypath( if (entry == NULL) { giterr_set(GITERR_TREE, - "The path '%s' does not exist in the given tree", path); + "the path '%.*s' does not exist in the given tree", filename_len, path); return GIT_ENOTFOUND; } @@ -868,7 +868,7 @@ int git_tree_entry_bypath( * then this entry *must* be a tree */ if (!git_tree_entry__is_tree(entry)) { giterr_set(GITERR_TREE, - "The path '%s' does not exist in the given tree", path); + "the path '%.*s' exists but is not a tree", filename_len, path); return GIT_ENOTFOUND; } |
