Browse Source
The existing read_pipe() function returns an empty string on error, but also returns an empty string if the command returns an empty string. This leads to ugly constructions trying to detect error cases. Add read_pipe_text() which just returns None on error. Signed-off-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Luke Diamand
8 years ago
committed by
Junio C Hamano
1 changed files with 28 additions and 3 deletions
Loading…
Reference in new issue