Re: [PATCH] Bad file descriptor on filtering empty files

2014-12-22 Thread Junio C Hamano
William Throwe writes: > In git 2.2.0 (also tested on 2.2.0.65.g9abc44b), if an external > smudge/clean filter is called on an empty file git reports something > like: > error: copy-fd: read returned Bad file descriptor > error: cannot feed the input to external filter cat > error: external filte

[PATCH] Bad file descriptor on filtering empty files

2014-12-19 Thread William Throwe
In git 2.2.0 (also tested on 2.2.0.65.g9abc44b), if an external smudge/clean filter is called on an empty file git reports something like: error: copy-fd: read returned Bad file descriptor error: cannot feed the input to external filter cat error: external filter cat failed Test case: mkdir bug c