From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry OReilly Newsgroups: gmane.emacs.devel Subject: Re: Two feature ideas for diffs Date: Thu, 7 Nov 2013 13:49:42 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff1c99e8e4b5e04ea9abaa7 X-Trace: ger.gmane.org 1383850186 17726 80.91.229.3 (7 Nov 2013 18:49:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Nov 2013 18:49:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 07 19:49:49 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VeUeL-0000MP-3q for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2013 19:49:49 +0100 Original-Received: from localhost ([::1]:41736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeUeK-0007BZ-I5 for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2013 13:49:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeUeH-0007BS-0q for emacs-devel@gnu.org; Thu, 07 Nov 2013 13:49:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VeUeF-00025q-VW for emacs-devel@gnu.org; Thu, 07 Nov 2013 13:49:44 -0500 Original-Received: from mail-oa0-x232.google.com ([2607:f8b0:4003:c02::232]:51382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeUeF-00025g-Qa for emacs-devel@gnu.org; Thu, 07 Nov 2013 13:49:43 -0500 Original-Received: by mail-oa0-f50.google.com with SMTP id j17so1404128oag.37 for ; Thu, 07 Nov 2013 10:49:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ByFtGKWY2W0bKQnxI7xbosTpOE9CvZxclrJgiWI0Kx0=; b=QhbGBni8/W6oM++/pQkNeaYR8ws3cMjJab28ZNP2NzMJwXrbHCpevIqBWjcCX2H9+f OLw+TzzDaOQxt0SRPQlNIJA4oTUzMDMnwmqj1uLl4MDaBAtC9YUXlAuwk/F+9whfpmk1 LD9FMJDrv8Fh00WuTjdbhdZpr8A4202g2jl13MpDl3Y8tNcT5zgrxwlMD7TWnBwQDYFR XoDzLdMzpxoE/vDOpLfHN4jJmGfptLD5JWq0yZBbLfqN2rJlbU7LaBj+PSwxw93xjt7M g10xNtBxcFuM5ZZWF1nA2Jt0Rbb2xsJB9kzjG7Te6LlDcy8olvSQvXb3+FVC6C4kwwHV RI/A== X-Received: by 10.182.237.75 with SMTP id va11mr7896953obc.5.1383850182591; Thu, 07 Nov 2013 10:49:42 -0800 (PST) Original-Received: by 10.76.156.103 with HTTP; Thu, 7 Nov 2013 10:49:42 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c02::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165046 Archived-At: --e89a8ff1c99e8e4b5e04ea9abaa7 Content-Type: text/plain; charset=ISO-8859-1 > Nice, but it's a pity it's written as git-specific. Git should only > be one of the backends and the frontend should call the appropriate > backend after checking what VC the file is under. It should operate on unified diffs and provide the customization for how to obtain the unified diffs, eg 'git diff'. Dmitry, can diff-hl be used to review patch files distributed as diff files without relying on a VCS? --e89a8ff1c99e8e4b5e04ea9abaa7 Content-Type: text/html; charset=ISO-8859-1
> Nice, but it's a pity it's written as git-specific. Git should only
> be one of the backends and the frontend should call the appropriate
> backend after checking what VC the file is under.

It should operate on unified diffs and provide the customization for
how to obtain the unified diffs, eg 'git diff'.

Dmitry, can diff-hl be used to review patch files distributed as diff
files without relying on a VCS?

--e89a8ff1c99e8e4b5e04ea9abaa7--