Extract filenames from diffs better.
This is a followup to: http://codereview.chromium.org/8059009/ Only add the file once instead of twice (since the diff has --- and +++ lines for each file). Strip whitespace at the end (git diffs don't include a \t so split('\t') isn't enough). Remove leading 'a/' from the path, since git diffs have these. BUG=none TEST=manual Review URL: http://codereview.chromium.org/8050017 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@102934 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please
register
or
sign in
to comment