Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add --edit: truncate the patch file
If there is already a .git/ADD_EDIT.patch file, we fail to truncate it properly, which could result in very funny errors. Let's just truncate it and not worry about it too much. Reported by J Wyman. Signed-off-by: Johannes Schindelin <firstname.lastname@example.org>
- Loading branch information
Showing with 1 addition and 1 deletion.
- +1 −1 builtin/add.c