OSDN Git Service
(root)
/
git-core
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cache.h: document index_name_pos
[git-core/git.git]
/
write_or_die.c
diff --git
a/write_or_die.c
b/write_or_die.c
index
0734432
..
eab8c8d
100644
(file)
--- a/
write_or_die.c
+++ b/
write_or_die.c
@@
-1,19
+1,6
@@
#include "cache.h"
#include "run-command.h"
#include "cache.h"
#include "run-command.h"
-static void check_pipe(int err)
-{
- if (err == EPIPE) {
- if (in_async())
- async_exit(141);
-
- signal(SIGPIPE, SIG_DFL);
- raise(SIGPIPE);
- /* Should never happen, but just in case... */
- exit(141);
- }
-}
-
/*
* Some cases use stdio, but want to flush after the write
* to get error handling (and to get better interactive
/*
* Some cases use stdio, but want to flush after the write
* to get error handling (and to get better interactive