help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Magit and seeing the whole diff


From: Thien-Thi Nguyen
Subject: Re: Magit and seeing the whole diff
Date: Sun, 19 Dec 2010 12:05:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

() Andrea Crotti <andrea.crotti.0@gmail.com>
() Sat, 18 Dec 2010 21:21:04 +0100

   Any idea?

I find the "git diff*" family of commands too flexible
to abstract precisely, when multiple files are involved.
For that, i use the simple shell script:

sed -i '1,/^####/!d' $0
date +"
                                                          %F %T" >> $0
#git diff -p --stat $(head -n 1 .last-release) ${1-HEAD} >> $0
git diff -p --stat q qq >> $0
exit 0
#### (progn (shell-command "sh .ttn.diff") (revert-buffer-t-t))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]