summaryrefslogtreecommitdiff
path: root/test-match-trees.c
diff options
context:
space:
mode:
authorRichard Hansen <rhansen@bbn.com>2013-09-04 15:04:30 -0400
committerJunio C Hamano <gitster@pobox.com>2013-09-04 15:02:56 -0700
commitbb8040f9f9274d739b894230959134584b156ae5 (patch)
treef7684c21fbba555276e9069662f4c887fbe67910 /test-match-trees.c
parent406fde17da450036acc35316c085e32bbd73ebc1 (diff)
downloadgit-bb8040f9f9274d739b894230959134584b156ae5.tar.gz
use 'tree-ish' instead of 'treeish'
Replace 'treeish' in documentation and comments with 'tree-ish' to match gitglossary(7). The only remaining instances of 'treeish' are: * variable, function, and macro names * "(also treeish)" in the definition of tree-ish in gitglossary(7) Signed-off-by: Richard Hansen <rhansen@bbn.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-match-trees.c')
-rw-r--r--test-match-trees.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-match-trees.c b/test-match-trees.c
index a3c4688778..2ef725e5ff 100644
--- a/test-match-trees.c
+++ b/test-match-trees.c
@@ -12,10 +12,10 @@ int main(int ac, char **av)
die("cannot parse %s as an object name", av[2]);
one = parse_tree_indirect(hash1);
if (!one)
- die("not a treeish %s", av[1]);
+ die("not a tree-ish %s", av[1]);
two = parse_tree_indirect(hash2);
if (!two)
- die("not a treeish %s", av[2]);
+ die("not a tree-ish %s", av[2]);
shift_tree(one->object.sha1, two->object.sha1, shifted, -1);
printf("shifted: %s\n", sha1_to_hex(shifted));