diff --git a/git_cl.py b/git_cl.py index 4b26d5ead..9708895b9 100755 --- a/git_cl.py +++ b/git_cl.py @@ -2789,7 +2789,7 @@ class Changelist(object): # Get the diff between local_ps and external_ps. issue = self.GetIssue() - changes_ref = 'refs/changes/%d/%d/' % (issue % 100, issue) + changes_ref = 'refs/changes/%02d/%d/' % (issue % 100, issue) RunGitSilent(['fetch', remote, changes_ref + str(local_ps)]) last_uploaded = RunGitSilent(['rev-parse', 'FETCH_HEAD']).strip() RunGitSilent(['fetch', remote, changes_ref + str(external_ps)])