diff options
author | Thomas Rast <trast@inf.ethz.ch> | 2013-07-16 11:27:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-17 12:50:34 -0700 |
commit | 1d999ddd1daa6da2779d21b293ea9b275780bff8 (patch) | |
tree | 4c179cf554418c4acf3249a64b021225a5ec6361 /Documentation/RelNotes/1.7.5.1.txt | |
parent | git-config: update doc for --get with multiple values (diff) | |
download | tgif-1d999ddd1daa6da2779d21b293ea9b275780bff8.tar.xz |
daemon/shell: refactor redirection of 0/1/2 from /dev/null
Both daemon.c and shell.c contain logic to open FDs 0/1/2 from
/dev/null if they are not already open. Move the function in daemon.c
to setup.c and use it in shell.c, too.
While there, remove a 'not' that inverted the meaning of the comment.
The point is indeed to *avoid* messing up.
Signed-off-by: Thomas Rast <trast@inf.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.7.5.1.txt')
0 files changed, 0 insertions, 0 deletions