aboutsummaryrefslogtreecommitdiffstats
path: root/tool/file2lastrev.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/file2lastrev.rb')
-rwxr-xr-xtool/file2lastrev.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb
index a2b639a426..48b8a1ae99 100755
--- a/tool/file2lastrev.rb
+++ b/tool/file2lastrev.rb
@@ -90,7 +90,7 @@ formatter =
ok = true
(ARGV.empty? ? [nil] : ARGV).each do |arg|
begin
- @output.write(formatter[*vcs.get_revisions(arg)]+"\n")
+ @output.write(formatter[*vcs.get_revisions(arg)]+"\n", overwrite: true)
rescue => e
warn "#{File.basename(Program)}: #{e.message}"
ok = false