I need to find the difference between two branches by gerrit Change IDs, not by files or commit IDs. I mean, the commits which are not in one branch.
Is there any way to get the diff by gerrit change IDs??
I need to find the difference between two branches by gerrit Change IDs, not by files or commit IDs. I mean, the commits which are not in one branch.
Is there any way to get the diff by gerrit change IDs??
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Sunday, April 19, 2015 at 08:49 CEST,
ms <mrutyunj...@gmail.com> wrote:
> Will it work for "Change ID" ?? don't want to use commit/SHA1 IDs.
> and want to calculate the diff between two branches.
Git doesn't know anything about change IDs. It only knows about refs
and SHA-1s. You can easily look up change IDs and get refs and SHA-1s.
This indirection shouldn't be a problem.
By the way, your original question,
> I need to find the difference between two branches by gerrit Change
> IDs, not by files or commit IDs. I mean, the commits which are not
> in one branch.
doesn't quite make sense. Change IDs don't identify branches, they
identify commits. So it's actually commits you want to compare?