[FFmpeg-devel] [GOODY] Mutt macro for applying patches
michaelni at gmx.at
Sun Mar 20 21:44:58 CET 2011
On Fri, Mar 18, 2011 at 11:43:11PM +0100, Stefano Sabatini wrote:
> Hi all,
> a little mutt macro which I find rather useful for applying patches
> with few keystrokes:
> folder-hook +inbox/ffmpeg-devel \
> 'set my_git_dir=~/src/ffmpeg at videolan;\
> set my_git_patch=$my_git_dir/patches/tmp_mutt;\
> macro index,pager <esc>g \
> "<shell-escape>rm -f $my_git_patch<enter>\
> <enter-command>set mbox_type=mbox<enter>\
> <shell-escape>cd $my_git_dir; git co master; git am $my_git_patch<enter>" \
> "git-apply a git patch to FFmpeg"'
> set mbox_type=mbox<enter>
> command is required since I'm using maildir, I thought that having one
> mail per file was a good idea (but unfortunately makes the opening of
> huge mailboxes crawls, e.g. if you have 10K mails like in my
> ffmpeg-devel mailbox).
> No warranties ;-)
Maybe these things should be put in git or on the homepage?
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel