summaryrefslogtreecommitdiff
path: root/t/t6014-rev-list-all.sh
diff options
context:
space:
mode:
authorLibravatar Luke Diamand <luke@diamand.org>2017-04-15 11:36:08 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-04-16 21:13:24 -0700
commit78871bf46f18cd92e744a993c1d6422ff30d8bca (patch)
treebeecbc0dc189b7660489f7b0b4474fb012408555 /t/t6014-rev-list-all.sh
parentgit-p4: add failing test for name-rev rather than symbolic-ref (diff)
downloadtgif-78871bf46f18cd92e744a993c1d6422ff30d8bca.tar.xz
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 't/t6014-rev-list-all.sh')
0 files changed, 0 insertions, 0 deletions