Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1612)

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/git.py

Issue 2691343007: Fix assert statement in Git.unstaged_changes. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/git_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/git.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/git.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/git.py
index 6933ca45dcd3ef65bc7c22201fba06b6f41a1a5a..f91fc421da603cffc4dbacb1dd4dbe9c2738558f 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/git.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/git.py
@@ -168,7 +168,7 @@ class Git(object):
return {} # No changes.
unstaged_changes = {}
for line in change_lines.split('\x00'):
- assert len(line) > 4, 'Unexpected change line format %s' % line
+ assert len(line) >= 4, 'Unexpected change line format %s' % line
if line[1] == ' ':
continue # Already staged for commit.
path = line[3:]
« no previous file with comments | « no previous file | third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/git_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698