| Index: git_cl.py
|
| ===================================================================
|
| --- git_cl.py (revision 136864)
|
| +++ git_cl.py (working copy)
|
| @@ -967,7 +967,7 @@
|
|
|
| if cl.GetIssue():
|
| if options.message:
|
| - upload_args.extend(['--message', options.message])
|
| + upload_args.extend(['--title', options.message])
|
| upload_args.extend(['--issue', cl.GetIssue()])
|
| print ("This branch is associated with issue %s. "
|
| "Adding patch to that issue." % cl.GetIssue())
|
| @@ -1064,6 +1064,13 @@
|
| help='target branch to upload')
|
| (options, args) = parser.parse_args(args)
|
|
|
| + # Print warning if the user used the -m/--message argument. This will soon
|
| + # change to -t/--title.
|
| + print >> sys.stderr, (
|
| + '\nWARNING: Use -t or --title to set the title of the patchset.\n' +
|
| + 'In the near future, -m or --message will send a message instead.\n' +
|
| + 'See http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/d8422e01be3ddc51# for details.\n')
|
| +
|
| # Make sure index is up-to-date before running diff-index.
|
| RunGit(['update-index', '--refresh', '-q'], error_ok=True)
|
| if RunGit(['diff-index', 'HEAD']):
|
|
|