Duy Nguyen writes:
> On Mon, Jul 14, 2014 at 11:45 AM, Junio C Hamano wrote:
>> Nguyễn Thái Ngọc Duy writes:
>>
>>> fd = open(git_path("repos/%s/gitdir", id), O_RDONLY);
>>> ...
>>> - while (path[len - 1] == '\n' || path[len - 1] == '\r')
>>> + while (len && (path[len - 1] == '\n
On Mon, Jul 14, 2014 at 11:45 AM, Junio C Hamano wrote:
> Nguyễn Thái Ngọc Duy writes:
>
>> fd = open(git_path("repos/%s/gitdir", id), O_RDONLY);
>> ...
>> - while (path[len - 1] == '\n' || path[len - 1] == '\r')
>> + while (len && (path[len - 1] == '\n' || path[len - 1] == '\r'))
Nguyễn Thái Ngọc Duy writes:
> fd = open(git_path("repos/%s/gitdir", id), O_RDONLY);
> ...
> - while (path[len - 1] == '\n' || path[len - 1] == '\r')
> + while (len && (path[len - 1] == '\n' || path[len - 1] == '\r'))
> len--;
Do we anticipate (or even allow/endorse)
v7 fixes all comments from Eric and Max. Jeff's two patches are
dropped because they have landed in latest master now. Diff against
v6:
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 470f979..57999fa 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1
4 matches
Mail list logo