DescriptionDo not assign revision when checking the commit existence.
'git rev-parse <revision> will return same revision result with
newline appended if revision exists. The newline will cause the
following checkout command will fail, so remove the assignment.
BUG=
R=agable@chromium.org, rogerta@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=277615
Patch Set 1 #Patch Set 2 : Use strip instead #Messages
Total messages: 11 (0 generated)
|