[PATCH v1] tests: getcwd.test

Dmitry V. Levin ldv at altlinux.org
Tue Mar 22 19:30:30 UTC 2016


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.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160322/4ae00dfa/attachment.bin>


More information about the Strace-devel mailing list