Skip to content

Commit 0843577

Browse files
committed
Unchanged files also need to use prefix.
Signed-off-by: Henry Cox <henry.cox@mediatek.com>
1 parent c85b855 commit 0843577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gitdiff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ while (<HANDLE>) {
135135
my $path = $prefix . $filename;
136136
if (!exists($allFiles{$path}) &&
137137
include_me($path, \@include_patterns, \@exclude_patterns)) {
138-
printf("diff --git a/$filename b/$filename\n");
138+
printf("diff --git $prefix$filename $prefix$filename\n");
139139
printf("=== $path\n");
140140
}
141141
}

0 commit comments

Comments
 (0)