Re: Creating diffs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rocco Rutte wrote:

> However, when I do:
> 
>    $ git diff source:file dest:file
> 
> I get:
> 
>    --- a/source:file
>    +++ b/source:file
> 
> But I'd like to drop the branchname. Can I do that without filtering 
> everything through sed(1)?

If I remember correctly there were two patches which solved it differently:
one gave

   --- a/source:file
   +++ b/dest:file

second (and I guess it is better solution)

   --- a/file
   +++ b/file

Unfortunately they seem unapplied...

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git


-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]