| Index: git_try.py | 
| =================================================================== | 
| --- git_try.py	(revision 102922) | 
| +++ git_try.py	(working copy) | 
| @@ -13,6 +13,7 @@ | 
| import subprocess2 | 
| import third_party.upload | 
| import trychange | 
| +import git_cl | 
|  | 
|  | 
| def GetRietveldIssueNumber(): | 
| @@ -53,8 +54,10 @@ | 
| # Hack around a limitation in logging. | 
| logging.getLogger().handlers = [] | 
| try: | 
| +    cl = git_cl.Changelist() | 
| +    change = cl.GetChange(cl.GetUpstreamBranch(), None) | 
| sys.exit(trychange.TryChange( | 
| -        args, file_list=[], swallow_exception=False, | 
| +        args, change, file_list=[], swallow_exception=False, | 
| prog='git try', | 
| extra_epilog='\n' | 
| 'git try will diff against your tracked branch and will ' | 
|  |