List for cgit developers and users
 help / color / mirror / Atom feed
* Diff between two tags?
@ 2018-03-26 15:15 mlhess
  2018-03-26 15:34 ` konstantin
  0 siblings, 1 reply; 5+ messages in thread
From: mlhess @ 2018-03-26 15:15 UTC (permalink / raw)


Hi all,


I am not seeing this documented, but is there an easy way to diff between two tags in a repo and have it create a patch?


Thanks,

Michael


**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20180326/85b70058/attachment.html>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Diff between two tags?
  2018-03-26 15:15 Diff between two tags? mlhess
@ 2018-03-26 15:34 ` konstantin
  2018-03-26 15:37   ` mlhess
  0 siblings, 1 reply; 5+ messages in thread
From: konstantin @ 2018-03-26 15:34 UTC (permalink / raw)


On 03/26/18 11:15, Hess, Michael wrote:
> Hi all,
> 
> 
> I am not seeing this documented, but is there an easy way to diff
> between two tags in a repo and have it create a patch?

Yes, for example:

diff:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/diff/?id=v4.15.13&id2=v4.15.12

patch:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/rawdiff/?id=v4.15.13&id2=v4.15.12

Best,
-- 
Konstantin Ryabitsev
Director, IT Infrastructure Security
The Linux Foundation

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20180326/17c046e2/attachment.asc>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Diff between two tags?
  2018-03-26 15:34 ` konstantin
@ 2018-03-26 15:37   ` mlhess
  2018-03-26 17:17     ` konstantin
  0 siblings, 1 reply; 5+ messages in thread
From: mlhess @ 2018-03-26 15:37 UTC (permalink / raw)


That is great, anyway to force it to plain text?

________________________________
From: Konstantin Ryabitsev <konstantin at linuxfoundation.org>
Sent: Monday, March 26, 2018 11:34:46 AM
To: Hess, Michael; cgit at lists.zx2c4.com
Subject: Re: Diff between two tags?

On 03/26/18 11:15, Hess, Michael wrote:
> Hi all,
>
>
> I am not seeing this documented, but is there an easy way to diff
> between two tags in a repo and have it create a patch?

Yes, for example:

diff:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/diff/?id=v4.15.13&id2=v4.15.12

patch:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/rawdiff/?id=v4.15.13&id2=v4.15.12

Best,
--
Konstantin Ryabitsev
Director, IT Infrastructure Security
The Linux Foundation

**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20180326/f5aa2ef9/attachment.html>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Diff between two tags?
  2018-03-26 15:37   ` mlhess
@ 2018-03-26 17:17     ` konstantin
  2018-03-26 17:18       ` mlhess
  0 siblings, 1 reply; 5+ messages in thread
From: konstantin @ 2018-03-26 17:17 UTC (permalink / raw)


On 03/26/18 11:37, Hess, Michael wrote:
> That is great, anyway to force it to plain text??

Sorry, I'm not sure what you mean. The rawdiff is plain text.

-- 
Konstantin Ryabitsev
Director, IT Infrastructure Security
The Linux Foundation

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20180326/15a40f9c/attachment.asc>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Diff between two tags?
  2018-03-26 17:17     ` konstantin
@ 2018-03-26 17:18       ` mlhess
  0 siblings, 0 replies; 5+ messages in thread
From: mlhess @ 2018-03-26 17:18 UTC (permalink / raw)


Thank you!  I can be blind sometimes!

________________________________
From: Konstantin Ryabitsev <konstantin at linuxfoundation.org>
Sent: Monday, March 26, 2018 1:17:15 PM
To: Hess, Michael; cgit at lists.zx2c4.com
Subject: Re: Diff between two tags?

On 03/26/18 11:37, Hess, Michael wrote:
> That is great, anyway to force it to plain text?

Sorry, I'm not sure what you mean. The rawdiff is plain text.

--
Konstantin Ryabitsev
Director, IT Infrastructure Security
The Linux Foundation

**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20180326/c75d6c7a/attachment.html>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-03-26 17:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-26 15:15 Diff between two tags? mlhess
2018-03-26 15:34 ` konstantin
2018-03-26 15:37   ` mlhess
2018-03-26 17:17     ` konstantin
2018-03-26 17:18       ` mlhess

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 NNTP newsgroup(s).