all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Magit and seeing the whole diff
Date: Mon, 20 Dec 2010 14:06:44 +0100	[thread overview]
Message-ID: <m1oc8gioez.fsf@ip1-201.halifax.rwth-aachen.de> (raw)
In-Reply-To: 87y67m6n0i.fsf@ambire.localdomain

Thien-Thi Nguyen <ttn@gnuvola.org> writes:

> () 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))

I don't quite get what you mean...
How does this integrates with magit/emacs?

You keep a buffer with the diff and you revert it sometimes?




  reply	other threads:[~2010-12-20 13:06 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
2010-12-20 13:06   ` Andrea Crotti [this message]
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=m1oc8gioez.fsf@ip1-201.halifax.rwth-aachen.de \
    --to=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.