From MAILER-DAEMON Thu Aug 03 16:07:27 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ddMP1-00027n-Lx
	for mharc-grep-commit@gnu.org; Thu, 03 Aug 2017 16:07:27 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55626)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1ddMOz-00027Z-HS
	for grep-commit@gnu.org; Thu, 03 Aug 2017 16:07:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1ddMOy-00086r-2e
	for grep-commit@gnu.org; Thu, 03 Aug 2017 16:07:25 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:35630)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1ddMOx-00086a-Tw
	for grep-commit@gnu.org; Thu, 03 Aug 2017 16:07:23 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 69712)
	id D8CC3203B5; Thu,  3 Aug 2017 16:07:23 -0400 (EDT)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v3.1-5-ge183886
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 3fb90a86a9aebe164bb4bb0e03f779ef8004d4d5
X-Git-Newrev: e183886892343200fc8aac871768a979f7842d4e
Message-Id: <20170803200723.D8CC3203B5@vcs0.savannah.gnu.org>
Date: Thu,  3 Aug 2017 16:07:23 -0400 (EDT)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit/>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Aug 2017 20:07:26 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  e183886892343200fc8aac871768a979f7842d4e (commit)
      from  3fb90a86a9aebe164bb4bb0e03f779ef8004d4d5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=e183886892343200fc8aac871768a979f7842d4e


commit e183886892343200fc8aac871768a979f7842d4e
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Thu Aug 3 13:07:01 2017 -0700

    doc: improve -o help
    
    * src/grep.c (usage): Document that -o outputs only nonempty
    matches (Bug#27931).

diff --git a/src/grep.c b/src/grep.c
index 8d22aec..dd338d9 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1949,7 +1949,7 @@ Output control:\n\
       --label=LABEL         use LABEL as the standard input file name prefix\n\
 "));
       printf (_("\
-  -o, --only-matching       show only the part of a line matching PATTERN\n\
+  -o, --only-matching       show only nonempty parts of lines matching PATTERN\n\
   -q, --quiet, --silent     suppress all normal output\n\
       --binary-files=TYPE   assume that binary files are TYPE;\n\
                             TYPE is 'binary', 'text', or 'without-match'\n\

-----------------------------------------------------------------------

Summary of changes:
 src/grep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Mon Aug 14 01:46:36 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1dh8Cy-0003EB-7K
	for mharc-grep-commit@gnu.org; Mon, 14 Aug 2017 01:46:36 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:52133)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1dh8Cv-0003D9-VS
	for grep-commit@gnu.org; Mon, 14 Aug 2017 01:46:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1dh8Cu-0007QT-UD
	for grep-commit@gnu.org; Mon, 14 Aug 2017 01:46:34 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:53650)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1dh8Cu-0007QJ-Qd
	for grep-commit@gnu.org; Mon, 14 Aug 2017 01:46:32 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 69698)
	id 698E420C81; Mon, 14 Aug 2017 01:46:32 -0400 (EDT)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v3.1-6-gd7a308a
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: e183886892343200fc8aac871768a979f7842d4e
X-Git-Newrev: d7a308a7d54db953bf86d8e44728a011416eeac2
Message-Id: <20170814054632.698E420C81@vcs0.savannah.gnu.org>
Date: Mon, 14 Aug 2017 01:46:32 -0400 (EDT)
From: jim@meyering.net (Jim Meyering)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit/>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Aug 2017 05:46:35 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  d7a308a7d54db953bf86d8e44728a011416eeac2 (commit)
      from  e183886892343200fc8aac871768a979f7842d4e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=d7a308a7d54db953bf86d8e44728a011416eeac2


commit d7a308a7d54db953bf86d8e44728a011416eeac2
Author: Jim Meyering <meyering@fb.com>
Date:   Sun Aug 13 22:44:55 2017 -0700

    maint: avoid newly-introduced syntax-check failure
    
    * src/grep.c (usage): Shorten --help line to 80, so
    "make syntax-check" passes once again.

diff --git a/src/grep.c b/src/grep.c
index dd338d9..a37e87b 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1949,7 +1949,7 @@ Output control:\n\
       --label=LABEL         use LABEL as the standard input file name prefix\n\
 "));
       printf (_("\
-  -o, --only-matching       show only nonempty parts of lines matching PATTERN\n\
+  -o, --only-matching      show only nonempty parts of lines matching PATTERN\n\
   -q, --quiet, --silent     suppress all normal output\n\
       --binary-files=TYPE   assume that binary files are TYPE;\n\
                             TYPE is 'binary', 'text', or 'without-match'\n\

-----------------------------------------------------------------------

Summary of changes:
 src/grep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Thu Aug 17 17:18:11 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1diSB9-0007JM-6g
	for mharc-grep-commit@gnu.org; Thu, 17 Aug 2017 17:18:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:50626)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1diSB6-0007Gf-8r
	for grep-commit@gnu.org; Thu, 17 Aug 2017 17:18:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1diSB4-0003cc-Iw
	for grep-commit@gnu.org; Thu, 17 Aug 2017 17:18:08 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:57106)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1diSB4-0003cO-FF
	for grep-commit@gnu.org; Thu, 17 Aug 2017 17:18:06 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 69712)
	id 2750B2052C; Thu, 17 Aug 2017 17:18:06 -0400 (EDT)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v3.1-8-g92526f7
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: d7a308a7d54db953bf86d8e44728a011416eeac2
X-Git-Newrev: 92526f7246464825c5547ceb08e01433e035c867
Message-Id: <20170817211806.2750B2052C@vcs0.savannah.gnu.org>
Date: Thu, 17 Aug 2017 17:18:05 -0400 (EDT)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit/>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Aug 2017 21:18:09 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  92526f7246464825c5547ceb08e01433e035c867 (commit)
       via  bfcad04c5ef73c7d78eeff32127ee8e0462307db (commit)
      from  d7a308a7d54db953bf86d8e44728a011416eeac2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=92526f7246464825c5547ceb08e01433e035c867


commit 92526f7246464825c5547ceb08e01433e035c867
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Thu Aug 17 14:15:35 2017 -0700

    grep: -L exits with status 0 if a file is selected
    
    Problem reported by Anthony Sottile (Bug#28105).
    * NEWS, doc/grep.texi (Exit Status), src/grep.c (usage): Document this.
    * src/grep.c (grepdesc): Implement it.
    * tests/skip-read: Test it.

diff --git a/NEWS b/NEWS
index 81f51b5..9ed78fb 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,11 @@ GNU grep NEWS                                    -*- outline -*-
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** Changes in behavior
+
+  The --files-without-match (-L) option now causes grep to succeed
+  when a file is listed, instead of when a line is selected.  This
+  resembles what git-grep does.
 
 * Noteworthy changes in release 3.1 (2017-07-02) [stable]
 
diff --git a/doc/grep.texi b/doc/grep.texi
index 24800c9..865acf1 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -1067,6 +1067,9 @@ and only when @env{POSIXLY_CORRECT} is not set.
 
 Normally the exit status is 0 if a line is selected, 1 if no lines
 were selected, and 2 if an error occurred.  However, if the
+@option{-L} or @option{--files-without-match} is used, the exit status
+is 0 if a file is listed, 1 if no files were listed, and 2 if an error
+occurred.  Also, if the
 @option{-q} or @option{--quiet} or @option{--silent} option is used
 and a line is selected, the exit status is 0 even if an error
 occurred.  Other @command{grep} implementations may exit with status
diff --git a/src/grep.c b/src/grep.c
index a37e87b..5847c7a 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1863,11 +1863,11 @@ grepdesc (int desc, bool command_line)
         fflush_errno ();
     }
 
-  status = !count;
+  status = !count != (list_files == LISTFILES_NONMATCHING);
 
   if (list_files == LISTFILES_NONE)
     finalize_input (desc, &st, ineof);
-  else if (list_files == (status ? LISTFILES_NONMATCHING : LISTFILES_MATCHING))
+  else if (status == 0)
     {
       print_filename ();
       putchar_errno ('\n' & filename_mask);
@@ -1994,7 +1994,7 @@ Context control:\n\
       printf (_("\
 When FILE is '-', read standard input.  With no FILE, read '.' if\n\
 recursive, '-' otherwise.  With fewer than two FILEs, assume -h.\n\
-Exit status is 0 if any line is selected, 1 otherwise;\n\
+Exit status is 0 if any line (or file if -L) is selected, 1 otherwise;\n\
 if any error occurs and -q is not given, the exit status is 2.\n"));
       emit_bug_reporting_address ();
     }
diff --git a/tests/skip-read b/tests/skip-read
index 1eef87e..3c32c48 100755
--- a/tests/skip-read
+++ b/tests/skip-read
@@ -15,7 +15,7 @@ for opts in '-m0 y' '-f /dev/null' '-v ""'; do
       eval returns_ 1 grep -l $opts $matcher /dev/null > out || fail=1
       compare /dev/null out || fail=1
     done
-    eval returns_ 1 grep -L $opts $matcher /dev/null > out || fail=1
+    eval grep -L $opts $matcher /dev/null > out || fail=1
     compare exp out || fail=1
   done
 done

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=bfcad04c5ef73c7d78eeff32127ee8e0462307db


commit 92526f7246464825c5547ceb08e01433e035c867
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Thu Aug 17 14:15:35 2017 -0700

    grep: -L exits with status 0 if a file is selected
    
    Problem reported by Anthony Sottile (Bug#28105).
    * NEWS, doc/grep.texi (Exit Status), src/grep.c (usage): Document this.
    * src/grep.c (grepdesc): Implement it.
    * tests/skip-read: Test it.

diff --git a/NEWS b/NEWS
index 81f51b5..9ed78fb 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,11 @@ GNU grep NEWS                                    -*- outline -*-
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** Changes in behavior
+
+  The --files-without-match (-L) option now causes grep to succeed
+  when a file is listed, instead of when a line is selected.  This
+  resembles what git-grep does.
 
 * Noteworthy changes in release 3.1 (2017-07-02) [stable]
 
diff --git a/doc/grep.texi b/doc/grep.texi
index 24800c9..865acf1 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -1067,6 +1067,9 @@ and only when @env{POSIXLY_CORRECT} is not set.
 
 Normally the exit status is 0 if a line is selected, 1 if no lines
 were selected, and 2 if an error occurred.  However, if the
+@option{-L} or @option{--files-without-match} is used, the exit status
+is 0 if a file is listed, 1 if no files were listed, and 2 if an error
+occurred.  Also, if the
 @option{-q} or @option{--quiet} or @option{--silent} option is used
 and a line is selected, the exit status is 0 even if an error
 occurred.  Other @command{grep} implementations may exit with status
diff --git a/src/grep.c b/src/grep.c
index a37e87b..5847c7a 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1863,11 +1863,11 @@ grepdesc (int desc, bool command_line)
         fflush_errno ();
     }
 
-  status = !count;
+  status = !count != (list_files == LISTFILES_NONMATCHING);
 
   if (list_files == LISTFILES_NONE)
     finalize_input (desc, &st, ineof);
-  else if (list_files == (status ? LISTFILES_NONMATCHING : LISTFILES_MATCHING))
+  else if (status == 0)
     {
       print_filename ();
       putchar_errno ('\n' & filename_mask);
@@ -1994,7 +1994,7 @@ Context control:\n\
       printf (_("\
 When FILE is '-', read standard input.  With no FILE, read '.' if\n\
 recursive, '-' otherwise.  With fewer than two FILEs, assume -h.\n\
-Exit status is 0 if any line is selected, 1 otherwise;\n\
+Exit status is 0 if any line (or file if -L) is selected, 1 otherwise;\n\
 if any error occurs and -q is not given, the exit status is 2.\n"));
       emit_bug_reporting_address ();
     }
diff --git a/tests/skip-read b/tests/skip-read
index 1eef87e..3c32c48 100755
--- a/tests/skip-read
+++ b/tests/skip-read
@@ -15,7 +15,7 @@ for opts in '-m0 y' '-f /dev/null' '-v ""'; do
       eval returns_ 1 grep -l $opts $matcher /dev/null > out || fail=1
       compare /dev/null out || fail=1
     done
-    eval returns_ 1 grep -L $opts $matcher /dev/null > out || fail=1
+    eval grep -L $opts $matcher /dev/null > out || fail=1
     compare exp out || fail=1
   done
 done

-----------------------------------------------------------------------

Summary of changes:
 NEWS            | 5 +++++
 doc/grep.texi   | 3 +++
 gnulib          | 2 +-
 src/grep.c      | 6 +++---
 tests/skip-read | 2 +-
 5 files changed, 13 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Sun Aug 20 20:05:51 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1djaE3-00061i-Ca
	for mharc-grep-commit@gnu.org; Sun, 20 Aug 2017 20:05:51 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58224)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1djaE1-00060N-Ow
	for grep-commit@gnu.org; Sun, 20 Aug 2017 20:05:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1djaE0-0000hd-2w
	for grep-commit@gnu.org; Sun, 20 Aug 2017 20:05:49 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:52931)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1djaDz-0000hX-Vl
	for grep-commit@gnu.org; Sun, 20 Aug 2017 20:05:48 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 69712)
	id B5B9F23198; Sun, 20 Aug 2017 20:05:47 -0400 (EDT)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v3.1-9-g5b9e55e
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 92526f7246464825c5547ceb08e01433e035c867
X-Git-Newrev: 5b9e55e885b4ac4e82518195f79bd5e2108a2d6c
Message-Id: <20170821000547.B5B9F23198@vcs0.savannah.gnu.org>
Date: Sun, 20 Aug 2017 20:05:47 -0400 (EDT)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit/>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Aug 2017 00:05:50 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  5b9e55e885b4ac4e82518195f79bd5e2108a2d6c (commit)
      from  92526f7246464825c5547ceb08e01433e035c867 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=5b9e55e885b4ac4e82518195f79bd5e2108a2d6c


commit 5b9e55e885b4ac4e82518195f79bd5e2108a2d6c
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Sun Aug 20 17:05:21 2017 -0700

    build: update gnulib submodule to latest

diff --git a/gnulib b/gnulib
index 5408b0e..dd76853 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 5408b0e0cd0396ea49aa20907c63568ee9b38688
+Subproject commit dd76853a033aa68be7c6a32b0f8636012962632f

-----------------------------------------------------------------------

Summary of changes:
 gnulib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Mon Aug 21 14:08:47 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1djr83-0000gG-OD
	for mharc-grep-commit@gnu.org; Mon, 21 Aug 2017 14:08:47 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43540)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1djr81-0000fg-Fp
	for grep-commit@gnu.org; Mon, 21 Aug 2017 14:08:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1djr7v-0002pD-SL
	for grep-commit@gnu.org; Mon, 21 Aug 2017 14:08:45 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:37910)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1djr7v-0002p3-PC
	for grep-commit@gnu.org; Mon, 21 Aug 2017 14:08:39 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 69712)
	id 932B020E71; Mon, 21 Aug 2017 14:08:39 -0400 (EDT)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v3.1-10-gdbf6efe
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 5b9e55e885b4ac4e82518195f79bd5e2108a2d6c
X-Git-Newrev: dbf6efe68c6d97a66ad20a4d5d2935a520bf4bd7
Message-Id: <20170821180839.932B020E71@vcs0.savannah.gnu.org>
Date: Mon, 21 Aug 2017 14:08:39 -0400 (EDT)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit/>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Aug 2017 18:08:46 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  dbf6efe68c6d97a66ad20a4d5d2935a520bf4bd7 (commit)
      from  5b9e55e885b4ac4e82518195f79bd5e2108a2d6c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=dbf6efe68c6d97a66ad20a4d5d2935a520bf4bd7


commit dbf6efe68c6d97a66ad20a4d5d2935a520bf4bd7
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Mon Aug 21 11:06:47 2017 -0700

    Pacify GCC 5.4
    
    * src/grep.c (grepdesc): Rework to pacify GCC 5.4 warning
    about logical not.

diff --git a/src/grep.c b/src/grep.c
index 5847c7a..2277a60 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1863,7 +1863,7 @@ grepdesc (int desc, bool command_line)
         fflush_errno ();
     }
 
-  status = !count != (list_files == LISTFILES_NONMATCHING);
+  status = !count == !(list_files == LISTFILES_NONMATCHING);
 
   if (list_files == LISTFILES_NONE)
     finalize_input (desc, &st, ineof);

-----------------------------------------------------------------------

Summary of changes:
 src/grep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
grep


From MAILER-DAEMON Mon Aug 21 15:46:39 2017
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1djsel-0006Tx-I4
	for mharc-grep-commit@gnu.org; Mon, 21 Aug 2017 15:46:39 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39108)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1djseg-0006Qc-8S
	for grep-commit@gnu.org; Mon, 21 Aug 2017 15:46:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1djsef-0001Rc-EM
	for grep-commit@gnu.org; Mon, 21 Aug 2017 15:46:34 -0400
Received: from vcs0.savannah.gnu.org ([208.118.235.201]:38903)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1djsef-0001RV-AE
	for grep-commit@gnu.org; Mon, 21 Aug 2017 15:46:33 -0400
Received: by vcs0.savannah.gnu.org (Postfix, from userid 69712)
	id F219720E71; Mon, 21 Aug 2017 15:46:32 -0400 (EDT)
To: grep-commit@gnu.org
Subject: grep branch, master, updated. v3.1-11-gdbc56ef
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: dbf6efe68c6d97a66ad20a4d5d2935a520bf4bd7
X-Git-Newrev: dbc56ef15883f9a5f6340833ed0fc5d53061771c
Message-Id: <20170821194632.F219720E71@vcs0.savannah.gnu.org>
Date: Mon, 21 Aug 2017 15:46:32 -0400 (EDT)
From: eggert@cs.ucla.edu (Paul Eggert)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.201
X-BeenThere: grep-commit@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: CVS commit notices for GNU grep <grep-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/grep-commit/>
List-Post: <mailto:grep-commit@gnu.org>
List-Help: <mailto:grep-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/grep-commit>,
	<mailto:grep-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Aug 2017 19:46:38 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  dbc56ef15883f9a5f6340833ed0fc5d53061771c (commit)
      from  dbf6efe68c6d97a66ad20a4d5d2935a520bf4bd7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=dbc56ef15883f9a5f6340833ed0fc5d53061771c


commit dbc56ef15883f9a5f6340833ed0fc5d53061771c
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Mon Aug 21 12:45:24 2017 -0700

    build: update gnulib submodule to latest

diff --git a/gnulib b/gnulib
index dd76853..efec517 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit dd76853a033aa68be7c6a32b0f8636012962632f
+Subproject commit efec5175a65f44f7509e58443bce98efa0916ad2

-----------------------------------------------------------------------

Summary of changes:
 gnulib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
grep


