git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: aerosmith <parvata@rocketmail.com>
To: git@vger.kernel.org
Subject: how to create a diff in old file new file format (for code reviews)
Date: Mon, 13 Dec 2010 16:07:37 -0800 (PST)	[thread overview]
Message-ID: <1292285257962-5832810.post@n2.nabble.com> (raw)


Hi,

I am trying to create a diff such that the original file (entire file) is
saved something like file1.h.old and the new modified file as file1.h.new. I
have read the various options for git-diff* tools but could not find one
such utility. All I get is the removals and additions as a diff. Does anyone
know how to create one with the help the available git utils? The only
method that I can think of is to do everything manually. Any help w.r.t.
this is really appreciated. Thanks in advance.
-- 
View this message in context: http://git.661346.n2.nabble.com/how-to-create-a-diff-in-old-file-new-file-format-for-code-reviews-tp5832810p5832810.html
Sent from the git mailing list archive at Nabble.com.

             reply	other threads:[~2010-12-14  0:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-14  0:07 aerosmith [this message]
2010-12-14  9:17 ` how to create a diff in old file new file format (for code reviews) Michael J Gruber
2010-12-14  9:18   ` [PATCH 1/2] git-difftool.txt: correct the description of $BASE and describe $MERGED Michael J Gruber
2010-12-14  9:18     ` [PATCH 2/2] difftool: provide basename to external tools Michael J Gruber
2010-12-16  3:33   ` [solved] how to create a diff in old file new file format (for code reviews) Seshu Parvataneni

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=1292285257962-5832810.post@n2.nabble.com \
    --to=parvata@rocketmail.com \
    --cc=git@vger.kernel.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).