diff options
-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: |