DragonFly BSD
DragonFly commits List (threaded) for 2012-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: grep: remove local option --only-files permanently

From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 8 May 2012 14:57:05 -0700 (PDT)

commit 0ccaf658083d02919184683e49a33e9088ccb047
Author: John Marino <draco@marino.st>
Date:   Tue May 8 19:02:03 2012 +0200

    grep: remove local option --only-files permanently
    The grep option --only-files exists only on DragonFly.  It was added in
    late 2005 by Simon Schubert as a quick and dirty way to search object
    directories using grep rather than a complex find command.  The issue
    was that some directory symlinks were created that produced recursive
    loops.  There wasn't a lot of support for the suggestion, but when the
    code was altered to allow non-directory symlinks to be followed by the
    --only-files option, the main objection was addressed.
    The problem is that this modification is making it difficult to maintain
    grep.  The code that it touches changes frequently, and its unmergable
    with grep 2.12.  The burden of maintaining this option is too much
    considering it may only have a single user.
    Discussed with: Dillon
    For the purposes of merging grep 2.12, the hammer bug fix is also being
    removed since it doesn't merge cleanly, but it will be restored after
    the merge.

Summary of changes:
 contrib/grep/doc/grep.texi |    9 --------
 contrib/grep/src/main.c    |   48 ++++++++-----------------------------------
 2 files changed, 9 insertions(+), 48 deletions(-)


DragonFly BSD source repository

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]