diff --git a/fast-import.c b/fast-import.c index 078079d404..1d116e7878 100644 --- a/fast-import.c +++ b/fast-import.c @@ -392,7 +392,9 @@ static void write_crash_report(const char *err) fprintf(rpt, "fast-import crash report:\n"); fprintf(rpt, " fast-import process: %d\n", getpid()); +#ifndef __MINGW32__ fprintf(rpt, " parent process : %d\n", getppid()); +#endif fprintf(rpt, " at %s\n", show_date(time(NULL), 0, DATE_LOCAL)); fputc('\n', rpt);