summaryrefslogtreecommitdiff
path: root/builtin/commit-tree.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-07-23 20:55:53 -0700
committerJunio C Hamano <gitster@pobox.com>2012-07-23 20:55:54 -0700
commita7fe78a8953a1c4d8abcb36f28133078a778b8d2 (patch)
tree7fa358290791b2e7784763ec2fd49b568ecc689c /builtin/commit-tree.c
parent9837911c139cefae24c7bc68751cd1cfdc950554 (diff)
parent4b7518a4aa24339d53e04151ba6b337245527c03 (diff)
downloadgit-a7fe78a8953a1c4d8abcb36f28133078a778b8d2.tar.gz
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/commit-tree.c')
-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 cb982c5503..eac901a0ee 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")) {