[PATCH v1] tests: getcwd.test

Jay Joshi jay.r.joshi100 at gmail.com
Wed Mar 23 13:59:34 UTC 2016


On Wed, Mar 23, 2016 at 1:00 AM, Dmitry V. Levin <ldv at altlinux.org> wrote:
> On Tue, Mar 22, 2016 at 09:37:09PM +0530, Jay Joshi wrote:
>> From b7ac9e7a693b8199b1942570847a82fecc8abcef Mon Sep 17 00:00:00 2001
>> From: JayRJoshi <jay.r.joshi100 at gmail.com>
>> Date: Tue, 22 Mar 2016 21:07:27 +0530
>> Subject: [PATCH 1/2] Add print_quoted_string function to libtests
>>
>> * tests/tests.h (print_quoted_string): New prototype.
>> * tests/print_quoted_string.c: New file.
>> * tests/Makefile.am (libtests_a_SOURCES): Add it.
>
> $ git am --whitespace=error-all a.patch
> Applying: Add print_quoted_string function to libtests
> .git/rebase-apply/patch:31: trailing whitespace.
> /*
> .git/rebase-apply/patch:83: space before tab in indent.
>                                                 if (c3 != '0' || c2 != '0')
> .git/rebase-apply/patch:84: space before tab in indent.
>                                                         putchar(c2);
> fatal: 3 lines add whitespace errors.
>
> If you had .git/hooks/pre-commit enabled, it wouldn't let
> these whitespace errors slip into commits.
>

Interesting :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.patch
Type: text/x-patch
Size: 5156 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160323/f8336ffc/attachment.bin>


More information about the Strace-devel mailing list