All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Hudec <bulb@ucw.cz>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Pete/Piet Delaney <pete@bluelane.com>,
	VMiklos <vmiklos@frugalware.org>,
	free cycle <freecycler23@yahoo.com>,
	git@vger.kernel.org
Subject: Re: How to Import a bitkeeper repo into git
Date: Tue, 16 Oct 2007 21:15:49 +0200	[thread overview]
Message-ID: <20071016191549.GG26127@efreet.light.src> (raw)
In-Reply-To: <alpine.LFD.0.999.0710151711280.6887@woody.linux-foundation.org>

[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]

On Mon, Oct 15, 2007 at 17:45:44 -0700, Linus Torvalds wrote:
> I don't actually know of any sane programs to view unified diffs, but you 
> can script one with little trouble. Here's a really hacky one I just came 
> up with:
> 
> 	#!/bin/sh
> 	cat "$@" > /tmp/diff
> 	grep '^[ -]' /tmp/diff > /tmp/orig
> 	grep '^[ +]' /tmp/diff > /tmp/result
> 	meld /tmp/orig /tmp/result
> 
> which fools 'meld' into showing a unified diff in a nice graphical manner.
> 
> [ Quite frankly, I don't understand why tools like meld and kdiff3 can't 
>   just take the unified diff directly - they have *all* the logic, it 
>   should be trivial to do, and very useful to view diffs for those people 
>   who like that graphical bling. ]

Kompare (KDE analog of meld) can. It is even bound to text/x-diff in
konqueror, so opening patches with konqueror yields side-by-side diff view.
On the other hand it still keeps a unixy behaviour:
 git diff | kompare -
works.

-- 
						 Jan 'Bulb' Hudec <bulb@ucw.cz>

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-10-16 19:16 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-09 16:57 How to Import a bitkeeper repo into git free cycle
2007-07-09 17:37 ` VMiklos
2007-07-09 17:51   ` Linus Torvalds
2007-10-15 23:39     ` Pete/Piet Delaney
2007-10-16  0:03       ` Shawn O. Pearce
2007-10-16  0:41         ` Pete/Piet Delaney
2007-10-16  1:13           ` David Brown
2007-10-16  0:45       ` Linus Torvalds
2007-10-16  1:12         ` David Brown
2007-10-16  1:22           ` Linus Torvalds
2007-10-16  3:45         ` Pete/Piet Delaney
2007-10-16  4:56           ` Marco Costalba
2007-10-16  6:05             ` Pete/Piet Delaney
2007-10-16  9:11               ` Marco Costalba
2007-10-16 17:05                 ` Andreas Ericsson
2007-10-17  6:57                   ` Marco Costalba
2007-10-17 15:50                     ` Andreas Ericsson
2007-10-17  5:22                 ` Pete/Piet Delaney
2007-10-17  7:14                   ` Marco Costalba
2007-10-17 21:47                     ` Pete/Piet Delaney
2007-10-17  5:02             ` How to Import a bitkeeper repo into git - Had a few questions on Qgit; I like the GUI Pete/Piet Delaney
2007-10-17  7:30               ` Marco Costalba
2007-10-17 16:00                 ` Robin Rosenberg
2007-10-17 23:26                   ` Marco Costalba
2007-10-18 21:12                     ` Robin Rosenberg
2007-10-18 23:41                     ` Qgit performance and maintain CVS environment with GIT repository Pete/Piet Delaney
2007-10-19  0:00                       ` Johannes Schindelin
2007-10-19  0:22                         ` Pete/Piet Delaney
2007-10-19  0:41                           ` Jeff King
2007-10-19  0:50                           ` Johannes Schindelin
2007-10-19  7:43                           ` Jan Wielemaker
2007-10-19  8:58                             ` Pete/Piet Delaney
2007-10-19 10:34                               ` Jan Wielemaker
2007-10-19  7:14                       ` Andreas Ericsson
2007-10-19  9:12                         ` Pete/Piet Delaney
2007-10-19  9:52                           ` Andreas Ericsson
2007-10-16 19:15         ` Jan Hudec [this message]
2007-10-16 19:28           ` How to Import a bitkeeper repo into git Linus Torvalds
     [not found]       ` <Pine.LNX.4.64.0710160100510.25221@racer.site>
     [not found]         ` <47140A5F.7000309@bluelane.com>
     [not found]           ` <Pine.LNX.4.64.0710160201220.25221@racer.site>
     [not found]             ` <4714130F.7030809@bluelane.com>
     [not found]               ` <Pine.LNX.4.64.0710160231040.25221@racer.site>
     [not found]                 ` <47142AF3.1030405@bluelane.com>
     [not found]                   ` <Pine.LNX.4.64.0710161154340.25221@racer.site>
     [not found]                     ` <47303826.1000506@bluelane.com>
2007-11-06 10:51                       ` git push problem - unpack unpacker exited with error code; ng refs/heads/rel2_branch n/a (unpacker error) Johannes Schindelin

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=20071016191549.GG26127@efreet.light.src \
    --to=bulb@ucw.cz \
    --cc=freecycler23@yahoo.com \
    --cc=git@vger.kernel.org \
    --cc=pete@bluelane.com \
    --cc=torvalds@linux-foundation.org \
    --cc=vmiklos@frugalware.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 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.