summaryrefslogtreecommitdiff
path: root/test-line-buffer.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-03-26 11:35:41 -0700
committerJunio C Hamano <gitster@pobox.com>2011-03-26 11:35:41 -0700
commita080fdd1b15612f71e5cc660c108f7d6c03804dd (patch)
treea798d46c93c1df8d9197537a236f85f5be57c09f /test-line-buffer.c
parent42f98745732c68baa6d79a50eab0d726b549025d (diff)
parent195b7ca6f229455da61f9f6b6e56a6558fb0e8ee (diff)
downloadgit-a080fdd1b15612f71e5cc660c108f7d6c03804dd.tar.gz
Merge branch 'svn-fe' of git://repo.or.cz/git/jrn
* 'svn-fe' of git://repo.or.cz/git/jrn: vcs-svn: handle log message with embedded NUL vcs-svn: avoid unnecessary copying of log message and author vcs-svn: remove buffer_read_string vcs-svn: make reading of properties binary-safe
Diffstat (limited to 'test-line-buffer.c')
-rw-r--r--test-line-buffer.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/test-line-buffer.c b/test-line-buffer.c
index 25b20b93fd..7ec9b13c9b 100644
--- a/test-line-buffer.c
+++ b/test-line-buffer.c
@@ -32,12 +32,6 @@ static void handle_command(const char *command, const char *arg, struct line_buf
buffer_copy_bytes(buf, strtouint32(arg));
return;
}
- case 'r':
- if (!prefixcmp(command, "read ")) {
- const char *s = buffer_read_string(buf, strtouint32(arg));
- fputs(s, stdout);
- return;
- }
case 's':
if (!prefixcmp(command, "skip ")) {
buffer_skip_bytes(buf, strtouint32(arg));