From 4c422e9b8c32a4610dc5e9870af8c7901b82255e Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Wed, 29 Aug 2012 21:15:26 +0000 Subject: [PATCH] options.from_logs is not used anywhere since it's the default. R=rogerta@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/10887035 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@153976 0039d316-1c4b-4281-b951-d872f2087c98 --- git_cl.py | 4 ---- tests/push-from-logs.sh | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/git_cl.py b/git_cl.py index 9715f3160..c8c3c8fad 100755 --- a/git_cl.py +++ b/git_cl.py @@ -1093,10 +1093,6 @@ def CMDupload(parser, args): parser.add_option("--emulate_svn_auto_props", action="store_true", dest="emulate_svn_auto_props", help="Emulate Subversion's auto properties feature.") - parser.add_option("--desc_from_logs", action="store_true", - dest="from_logs", - help="""Squashes git commit logs into change description and - uses message as subject""") parser.add_option('-c', '--use-commit-queue', action='store_true', help='tell the commit queue to commit this patchset') if settings.GetIsGerrit(): diff --git a/tests/push-from-logs.sh b/tests/push-from-logs.sh index 1b6ade7ff..bb15c3fa0 100755 --- a/tests/push-from-logs.sh +++ b/tests/push-from-logs.sh @@ -31,7 +31,7 @@ setup_gitgit # Prevent the editor from coming up when you upload. export EDITOR=$(which true) test_expect_success "upload succeeds (needs a server running on localhost)" \ - "$GIT_CL upload -m test --desc_from_logs master | \ + "$GIT_CL upload -m test master | \ grep -q 'Issue created'" test_expect_success "git-cl status now knows the issue" \