diff options
author | Adam Spiers <github@adamspiers.org> | 2017-01-13 01:58:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-13 01:58:03 +0000 |
commit | 949576e988324e40f0f5114a061f80ffe4a28750 (patch) | |
tree | 90e595b79da7d0815eaeb77f0af2ca1e1464fb44 | |
parent | 8e1545564aaebbf95401db74a2d421f6d442c731 (diff) | |
parent | 80901e26ebe929ac3ae99166519b81c591b8d935 (diff) | |
download | git-deps-949576e988324e40f0f5114a061f80ffe4a28750.tar.gz |
Merge pull request #63 from jeremysalwen/patch-1
Apply dwm1945's patch
-rwxr-xr-x | git-deps.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git-deps.py b/git-deps.py index ae5d796..216bb9e 100755 --- a/git-deps.py +++ b/git-deps.py @@ -549,6 +549,8 @@ class DependencyDetector(object): self.logger.debug(diff_format % ('--------', '-----', '', hunk_header)) line_num = hunk.old_start for line in hunk.lines: + if "\n\\ No newline at end of file" == line.content.rstrip(): + break if line.origin == '+': rev = ln = '' else: |