Commit 3ccc1a4deb67212a3e3c69e91fb7a04975819b31

Carlos Martín Nieto 2017-11-19T09:46:02

futils: add a function to truncate a file We want to do this in order to get FETCH_HEAD to be empty when we start updating it due to fetching from the remote.