Your message dated Wed, 6 May 2020 21:30:15 -0700
with message-id 
<cafcc3et0uq2srzfl3-m9mn02og75x-p5wvff5ygrohowdrz...@mail.gmail.com>
and subject line Re: git grep: Please support -o, --only-matching
has caused the Debian Bug report #658447,
regarding git grep: Please support -o, --only-matching
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
658447: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658447
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: git
Version: 1:1.7.9-1
Severity: wishlist

I frequently use grep -o, which outputs only the part of the line that
grep matched.  I'd like to use this option with git grep, as well.

- Josh Triplett

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git depends on:
ii  git-man          1:1.7.9-1
ii  libc6            2.13-25
ii  libcurl3-gnutls  7.24.0-1
ii  liberror-perl    0.17-1
ii  libexpat1        2.0.1-7.2
ii  perl-modules     5.14.2-7
ii  zlib1g           1:1.2.3.4.dfsg-3

Versions of packages git recommends:
ii  less                         444-2
ii  openssh-client [ssh-client]  1:5.9p1-2
ii  patch                        2.6.1-3
ii  rsync                        3.0.9-1

Versions of packages git suggests:
pn  git-arch                              <none>
pn  git-cvs                               <none>
pn  git-daemon-run | git-daemon-sysvinit  <none>
pn  git-doc                               <none>
pn  git-el                                <none>
pn  git-email                             <none>
pn  git-gui                               <none>
pn  git-svn                               1:1.7.9-1
pn  gitk                                  1:1.7.9-1
pn  gitweb                                <none>

-- no debconf information



--- End Message ---
--- Begin Message ---
fixed 658447 1:2.19.0~rc1-0.1
thanks

On Thu, 02 Feb 2012 19:51:15 -0800 Josh Triplett <[email protected]> wrote:
> I frequently use grep -o, which outputs only the part of the line that
> grep matched.  I'd like to use this option with git grep, as well.

Good news! This feature was added upstream, in 2018 in v2.19.0~133^2.
>From git-grep(1):

       -o, --only-matching
           Print only the matched (non-empty) parts of a matching
           line, with each such part on a separate output line.

Versions later than that are available in buster and in stretch-backports.

Cheers,
Greg

--- End Message ---

Reply via email to