mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
wrapper: indent with tabs
The codebase uses tabs for indentation. Convert an erroneous space indent into a tab indent. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
0b6806b9e4
commit
7cd54d37dc
@@ -147,7 +147,7 @@ ssize_t xread(int fd, void *buf, size_t len)
|
||||
{
|
||||
ssize_t nr;
|
||||
if (len > MAX_IO_SIZE)
|
||||
len = MAX_IO_SIZE;
|
||||
len = MAX_IO_SIZE;
|
||||
while (1) {
|
||||
nr = read(fd, buf, len);
|
||||
if ((nr < 0) && (errno == EAGAIN || errno == EINTR))
|
||||
@@ -165,7 +165,7 @@ ssize_t xwrite(int fd, const void *buf, size_t len)
|
||||
{
|
||||
ssize_t nr;
|
||||
if (len > MAX_IO_SIZE)
|
||||
len = MAX_IO_SIZE;
|
||||
len = MAX_IO_SIZE;
|
||||
while (1) {
|
||||
nr = write(fd, buf, len);
|
||||
if ((nr < 0) && (errno == EAGAIN || errno == EINTR))
|
||||
|
||||
Reference in New Issue
Block a user