all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: Andrea Crotti <andrea.crotti.0@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Magit and seeing the whole diff
Date: Sun, 19 Dec 2010 12:05:33 +0100	[thread overview]
Message-ID: <87y67m6n0i.fsf@ambire.localdomain> (raw)
In-Reply-To: <m1bp4i96j3.fsf@ip1-201.halifax.rwth-aachen.de> (Andrea Crotti's message of "Sat, 18 Dec 2010 21:21:04 +0100")

() 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	other threads:[~2010-12-19 11:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-18 20:21 Magit and seeing the whole diff Andrea Crotti
2010-12-19 11:05 ` Thien-Thi Nguyen [this message]
2010-12-20 13:06   ` Andrea Crotti
2010-12-21  9:31     ` Thien-Thi Nguyen
     [not found] <mailman.9.1292703974.5735.help-gnu-emacs@gnu.org>
2010-12-20 12:48 ` Sébastien Vauban
2010-12-20 13:51   ` Andrea Crotti

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=87y67m6n0i.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=andrea.crotti.0@gmail.com \
    --cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.