public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Holloway <Nick.Holloway@pyrites.org.uk>
To: linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [GIT PULL] ext4 bugfixes for 3.2-rc5
Date: Sat, 17 Dec 2011 08:20:48 +0000	[thread overview]
Message-ID: <20111217082048.GA11790@pyrites.org.uk> (raw)
In-Reply-To: i8rOG-XY-7@gated-at.bofh.it

Linus Torvalds <torvalds@linux-foundation.org> writes:
>   git cat-file commit 2240a7bb479c |
>        awk '/^mergetag /,/^$/ { print }' |
>        sed 's/^mergetag//' |
>        sed 's/^ //'
>
> (ok, that can almost certainly be done smarter,

Forfilling your prediction that it could be smarter, here is the same
in a single sed invocation:

    git cat-file commit 2240a7bb479c | 
	sed -rn '/^mergetag /,/^$/{s/^(mergetag)? //p}'

I don't expect anyone cares though...

-- 
 `O O'  | Nick.Holloway@pyrites.org.uk
// ^ \\ | http://www.pyrites.org.uk/

       reply	other threads:[~2011-12-17  8:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <i82GC-j4-7@gated-at.bofh.it>
     [not found] ` <i89I5-3Bp-11@gated-at.bofh.it>
     [not found]   ` <i8oQP-4s2-29@gated-at.bofh.it>
     [not found]     ` <i8rOG-XY-7@gated-at.bofh.it>
2011-12-17  8:20       ` Nick Holloway [this message]
2011-12-14 19:20 [GIT PULL] ext4 bugfixes for 3.2-rc5 Theodore Ts'o
2011-12-15  2:50 ` Linus Torvalds
2011-12-15 19:08   ` Ted Ts'o
2011-12-15 22:13     ` Linus Torvalds
2011-12-21  5:28     ` Junio C Hamano
2011-12-21  5:37       ` Junio C Hamano
2011-12-21  5:41   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111217082048.GA11790@pyrites.org.uk \
    --to=nick.holloway@pyrites.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox