[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Git to manage your Emacs changes
From: |
Giuseppe Scrivano |
Subject: |
Re: Using Git to manage your Emacs changes |
Date: |
Wed, 07 Apr 2010 22:53:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
I have some notes on your script:
John Wiegley <address@hidden> writes:
> git checkout ${1:-upstream}
> git format-patch ..master
>
> for i in [0-9]*.patch; do
> echo Applying $i
>
> patch -p1 < $i
I am not sure the script handles added and removed files, probably you
must explicitly call bzr add|rm.
> grep ^Subject: $i | sed 's/^Subject: \[PATCH\] //' > /tmp/msg.$$
>
> perl -ne 'print if /^$/ .. /^---/;' $i | \
> perl -ne 'print unless /^---/ .. eof()' | \
> tail +2 >> /tmp/msg.$$
tail -n +2
> bzr commit -F /tmp/msg.$$
I think it is desiderable to keep the original author and commit time as
well.
Cheers,
Giuseppe
- Re: Using Git to manage your Emacs changes, (continued)
- Re: Using Git to manage your Emacs changes, Jason Earl, 2010/04/24
- Re: Using Git to manage your Emacs changes, Alfred M. Szmidt, 2010/04/24
- Re: Using Git to manage your Emacs changes, Eli Zaretskii, 2010/04/24
- Re: Using Git to manage your Emacs changes, Jason Earl, 2010/04/24
- Re: Using Git to manage your Emacs changes, Stephen J. Turnbull, 2010/04/25
- Re: Using Git to manage your Emacs changes, Karl Fogel, 2010/04/27
- Re: Using Git to manage your Emacs changes, Georg Brandl, 2010/04/25
- Re: Using Git to manage your Emacs changes, Richard Stallman, 2010/04/26
- Re: Using Git to manage your Emacs changes, Eli Zaretskii, 2010/04/26
- Re: Using Git to manage your Emacs changes, Andreas Schwab, 2010/04/21
Re: Using Git to manage your Emacs changes,
Giuseppe Scrivano <=
Re: Using Git to manage your Emacs changes, Ken Raeburn, 2010/04/08