git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Clément Poulain" <clement.poulain@ensimag.imag.fr>
To: git@vger.kernel.org
Cc: "Clément Poulain" <clement.poulain@ensimag.imag.fr>
Subject: [PATCH v3 0/4] git-gui blame: use textconv
Date: Wed,  9 Jun 2010 19:02:05 +0200	[thread overview]
Message-ID: <1276102929-31712-1-git-send-email-clement.poulain@ensimag.imag.fr> (raw)

This patch adds support of textconv to git-gui blame.

It is based on our previous work which adds textconv support to blame:
http://mid.gmane.org/1275921713-3277-1-git-send-email-axel.bonnet@ensimag.imag.fr
It also uses a git-gui patch done by Clemens Buchacher which adds textconv
support to git-gui diff: http://mid.gmane.org/20100415193944.GA5848@localhost.

git-gui blame is based on cat-file to get the content of the file in different
revisions, so the patch adds textconv support to cat-file.
The first part of this patch adds get_sha1_with_context() in order to know 
the pathname of the concerned blob, as textconv needs it to work.

This third version corrects one bug and some compilation warnings

Clément Poulain (4):
  sha1_name: add get_sha1_with_context()
  textconv: support for cat_file
  git gui: use textconv filter for diff and blame
  t/t8007: test textconv support for cat-file

 builtin.h                    |    2 +
 builtin/blame.c              |    8 ++--
 builtin/cat-file.c           |   33 ++++++++++++++++++--
 cache.h                      |   11 ++++++
 git-gui/git-gui.sh           |   28 ++++++++++++++++-
 git-gui/lib/blame.tcl        |   21 +++++++++++-
 git-gui/lib/diff.tcl         |    5 ++-
 git-gui/lib/option.tcl       |    1 +
 sha1_name.c                  |   31 +++++++++++++++---
 t/t8007-cat-file-textconv.sh |   70 ++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 194 insertions(+), 16 deletions(-)
 create mode 100755 t/t8007-cat-file-textconv.sh

             reply	other threads:[~2010-06-09 17:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-09 17:02 Clément Poulain [this message]
2010-06-09 17:02 ` [PATCH v3 1/4] sha1_name: add get_sha1_with_context() Clément Poulain
2010-06-09 17:02   ` [PATCH v3 2/4] textconv: support for cat_file Clément Poulain
2010-06-09 17:02     ` [PATCH v3 3/4] git gui: use textconv filter for diff and blame Clément Poulain
2010-06-09 17:02       ` [PATCH v3 4/4] t/t8007: test textconv support for cat-file Clément Poulain
2010-06-14 17:18 ` [PATCH v3 0/4] git-gui blame: use textconv Clément Poulain
2010-06-14 17:29   ` Junio C Hamano
2010-06-16  7:50     ` Matthieu Moy
2010-06-15 15:50 ` [PATCH v3 2/4] textconv: support for cat_file Clément Poulain

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1276102929-31712-1-git-send-email-clement.poulain@ensimag.imag.fr \
    --to=clement.poulain@ensimag.imag.fr \
    --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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).