bugGNU patch - Bugs: bug #26182, feature request: add support for...

 
 

bug #26182: feature request: add support for extended diff format used by git

Submitted by:  Arkadiusz Miskiewicz <arekm>
Submitted on:  Wed 15 Apr 2009 07:40:51 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 29 Apr 2010 05:46:59 PM UTC, comment #3:

The "diff --git" format is (partially) documented here:

http://git.kernel.org/?p=git/git.git;a=blob;f=Documentation/diff-generate-patch.txt

I have implemented support for "diff --git" symlinks, file mode changes, renames and copies meanwhile.

Binary diffs are still not supported, and I won't work on that myself anytime soon.

Andreas Gruenbacher <agruen>
Project Administrator
Thu 29 Apr 2010 05:17:36 PM UTC, comment #2:

I was thinking about simpler things like:

$ git diff ...
diff --git a/moj_cert.pem b/moj_cert.pem_renamed
rename from moj_cert.pem
rename to moj_cert.pem_renamed

etc. Not sure but afaik there are only two such things - rename and delete.

Arkadiusz Miskiewicz <arekm>
Thu 29 Apr 2010 04:56:07 PM UTC, comment #1:

Arkadiusz, are you really asking for support for git's raw output format? How would that make sense for patch given that this format doesn't include file contents, only sha1 checksums of the files affected?

Andreas Gruenbacher <agruen>
Project Administrator
Wed 15 Apr 2009 07:40:51 AM UTC, original submission:

This is feature request.

Add support for extended diff format used by git and described here:

http://git.kernel.org/?p=git/git.git;a=blob_plain;f=Documentation/diff-format.txt;hb=master

Arkadiusz Miskiewicz <arekm>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by agruen (Posted a comment)
  • -unavailable- added by arekm (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 29 Apr 2010 05:46:59 PM UTCagruenStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Thu 29 Apr 2010 04:56:07 PM UTCagruenStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1