git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tim Henigan <tim.henigan@gmail.com>
To: gitster@pobox.com, git@vger.kernel.org, davvid@gmail.com
Cc: Tim Henigan <tim.henigan@gmail.com>
Subject: [PATCH v3 0/9] difftool: teach command to perform directory diffs
Date: Wed, 21 Mar 2012 15:35:55 -0400	[thread overview]
Message-ID: <1332358560-13774-1-git-send-email-tim.henigan@gmail.com> (raw)

Changes in v3:
  - Removed unused shell variable (SUBDIRECTORY_OK) from patch 7.
  - Changed patches 7 and 8 to support calling 'difftool --dir-diff' from
    a subdirectory of the repo.
  - Changed patch 8 to support 
  - Added patch 10, which makes mixing --prompt and --no-prompt and error.
  - Added tests for new difftool options in patches 11 and 12.

  - Patches 1-6 and 9 did not change and have not been resent.
  

Series Overview:

'git difftool' is a very useful command that allows git diffs to be opened
in an external tool. Currently, difftool opens a separate instance of the
external tool for each file that changed.  This can be tedious when many
files have changed.

This series teaches difftool to perform directory diffs, so that all file
changes can be opened/reviewed in a single instance of the external tool.

This is the second phase of development for this feature.  The first phase
was added as a separate command (git diffall) in 1252bbe (contrib: add
git-diffall script).  During review of that script on the Git developers
list, an informal development roadmap was suggested [1]. The next phase
of that plan is to integrate the 'git-diffall' feature into 'difftool'.
This series gets that done.

[1]: http://thread.gmane.org/gmane.comp.version-control.git/191297/focus=191383


Tim Henigan (12):
  difftool: parse options using Getopt::Long
  difftool: exit(0) when usage is printed
  difftool: remove explicit change of PATH
  difftool: stop appending '.exe' to git
  difftool: eliminate setup_environment function
  difftool: replace system call with Git::command_noisy
  difftool: teach difftool to handle directory diffs
  difftool: teach dir-diff to copy modified files back to working tree
  difftool: print list of valid tools with '--tool-help'
  difftool: do not allow mix of '--prompt' with '--no-prompt'
  t7800: add test for difftool --tool-help
  t7800: add tests for difftool --dir-diff

 Documentation/git-difftool.txt |   17 ++-
 git-difftool--helper.sh        |   19 ++-
 git-difftool.perl              |  264 +++++++++++++++++++++++++++-------------
 t/t7800-difftool.sh            |   59 +++++++--
 4 files changed, 254 insertions(+), 105 deletions(-)

-- 
1.7.10.rc1.39.g6e141f

             reply	other threads:[~2012-03-21 19:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21 19:35 Tim Henigan [this message]
2012-03-21 19:35 ` [PATCH v3 7/9] difftool: teach difftool to handle directory diffs Tim Henigan
2012-03-21 19:35 ` [PATCH v3 8/9] difftool: teach dir-diff to copy modified files back to working tree Tim Henigan
2012-03-21 19:35 ` [PATCH v3 10/9] difftool: do not allow mix of '--prompt' with '--no-prompt' Tim Henigan
2012-03-21 20:14   ` Junio C Hamano
2012-03-22  1:53   ` [PATCH 10/9 v4] difftool: fix regression in '--prompt' options Tim Henigan
2012-03-22  4:09     ` Junio C Hamano
2012-03-22  8:19       ` Thomas Rast
2012-03-22 13:51         ` Tim Henigan
2012-03-22 16:59           ` Junio C Hamano
2012-03-22 19:01             ` Tim Henigan
2012-03-22 19:13               ` Junio C Hamano
2012-03-22 16:57         ` Junio C Hamano
2012-03-21 19:35 ` [PATCH v3 11/9] t7800: add test for difftool --tool-help Tim Henigan
2012-03-21 19:36 ` [PATCH v3 12/9] t7800: add tests for difftool --dir-diff Tim Henigan
2012-03-22  9:53   ` David Aguilar
2012-03-22 13:55     ` Tim Henigan

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=1332358560-13774-1-git-send-email-tim.henigan@gmail.com \
    --to=tim.henigan@gmail.com \
    --cc=davvid@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /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).