diff options
author | Johannes Sixt <j6t@kdbg.org> | 2011-11-23 09:49:38 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-11-23 10:54:57 -0800 |
commit | 2a4037d0a745134a3b94cb3d60d2793a26bd9027 (patch) | |
tree | 3d56aae62910b694c47737da1eabc5c24e1d1754 /t/t4013/diff.diff-tree_-c_--stat_master | |
parent | revert: do not pass non-literal string as format to git_path() (diff) | |
download | tgif-2a4037d0a745134a3b94cb3d60d2793a26bd9027.tar.xz |
Fix revert --abort on Windows
On Windows, it is not possible to rename or remove a directory that has
open files. 'revert --abort' renamed .git/sequencer when it still had
.git/sequencer/head open. Close the file as early as possible to allow
the rename operation on Windows.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_-c_--stat_master')
0 files changed, 0 insertions, 0 deletions