Johannes Schindelin wrote:
Most probable. Could you patch fast-import.c to strip the carriage
return? Most likely the proper place would be read_next_command(), maybe
these two lines at the end:
if (command_buf.len && command_buf.buf[command_buf.len - 1] == '\r')
strbuf_setlen(&command_buf, command_buf.len - 1);
That did the trick.
I can check that in if you want. However, I'd think for ease of future
reintegration you might prefer to bracket it in an "ifdef __MINGW32__"
like I've seen in some other sources. For instance, buildtin-tag.c has
an ifdef for roughly the same line-ending issue.
Hopefully tomorrow I'll get a chance to see if that fixes my problems
with the non-interactive use of fast-import.
--
T.E.D.
--
Diplomacy is the art of saying 'Nice doggie' until you can find a rock.
-- Will Rogers