• James Zern's avatar
    tools/wrap-commit-msg.py: fix file truncation · 00794a93
    James Zern authored
    truncate() operates from the current file pointer position. On at least
    Linux specifying 0 without resetting the pointer will pad the file with
    zeros to the current offset.
    
    Change-Id: Ide704a1097f46c0c530f27212bb12e923f93e2d6
    00794a93
wrap-commit-msg.py 2.06 KB