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.
Showing
Please
register
or
sign in
to comment
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.