summaryrefslogtreecommitdiff
path: root/command-list.txt
diff options
context:
space:
mode:
authorLuke Diamand <luke@diamand.org>2017-04-15 11:36:08 +0100
committerJunio C Hamano <gitster@pobox.com>2017-04-16 21:13:24 -0700
commit78871bf46f18cd92e744a993c1d6422ff30d8bca (patch)
treebeecbc0dc189b7660489f7b0b4474fb012408555 /command-list.txt
parent3d553cceb57a09e997ae403dbcd69ddb570e6f08 (diff)
downloadgit-78871bf46f18cd92e744a993c1d6422ff30d8bca.tar.gz
git-p4: add read_pipe_text() internal function
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>
Diffstat (limited to 'command-list.txt')
0 files changed, 0 insertions, 0 deletions