summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-07-24 03:55:53 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-07-24 03:55:54 (GMT)
commita7fe78a8953a1c4d8abcb36f28133078a778b8d2 (patch)
tree7fa358290791b2e7784763ec2fd49b568ecc689c /builtin
parent9837911c139cefae24c7bc68751cd1cfdc950554 (diff)
parent4b7518a4aa24339d53e04151ba6b337245527c03 (diff)
downloadgit-a7fe78a8953a1c4d8abcb36f28133078a778b8d2.zip
git-a7fe78a8953a1c4d8abcb36f28133078a778b8d2.tar.gz
git-a7fe78a8953a1c4d8abcb36f28133078a778b8d2.tar.bz2
Merge branch 'kk/maint-commit-tree'
* kk/maint-commit-tree: Revert "git-commit-tree(1): update synopsis" commit-tree: resurrect command line parsing updates
Diffstat (limited to 'builtin')
-rw-r--r--builtin/commit-tree.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/builtin/commit-tree.c b/builtin/commit-tree.c
index cb982c5..eac901a 100644
--- a/builtin/commit-tree.c
+++ b/builtin/commit-tree.c
@@ -48,9 +48,6 @@ int cmd_commit_tree(int argc, const char **argv, const char *prefix)
if (argc < 2 || !strcmp(argv[1], "-h"))
usage(commit_tree_usage);
- if (get_sha1_tree(argv[1], tree_sha1))
- die("Not a valid tree object name %s", argv[1]);
-
for (i = 1; i < argc; i++) {
const char *arg = argv[i];
if (!strcmp(arg, "-p")) {