|
@@ -383,6 +383,9 @@ class GitDiffCheck:
|
|
#
|
|
#
|
|
self.force_crlf = False
|
|
self.force_crlf = False
|
|
self.force_notabs = False
|
|
self.force_notabs = False
|
|
|
|
+ if os.path.basename(self.filename) == 'GNUmakefile' or \
|
|
|
|
+ os.path.basename(self.filename) == 'Makefile':
|
|
|
|
+ self.force_notabs = False
|
|
elif len(line.rstrip()) != 0:
|
|
elif len(line.rstrip()) != 0:
|
|
self.format_error("didn't find diff command")
|
|
self.format_error("didn't find diff command")
|
|
self.line_num += 1
|
|
self.line_num += 1
|