Skip to contentSkip to conversation

ext4 bugfixes for 3.2-rc5

GIT PULL Nick Holloway 1 participant 1 message Dec 17, 2011 4 messages not in the archive

lore
Share & tools
lore
#4 lore raw
In reply to a message not in the archive
Quoted 6 lines · Linus Torvalds

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...

Signature · 2 lines
 `O O'  | [email protected]
// ^ \\ | http://www.pyrites.org.uk/