* Rebasing guile-daemon branch onto master
@ 2018-04-28 19:10 Sandeep Subramanian
2018-04-28 20:45 ` Sandeep Subramanian
2018-04-28 22:40 ` Leo Famulari
0 siblings, 2 replies; 9+ messages in thread
From: Sandeep Subramanian @ 2018-04-28 19:10 UTC (permalink / raw)
To: guix-devel
Hi all,
I was trying to rebase the guile-daemon branch onto the master branch
and I have some trouble doing it.
The interactive git rebase showed me that there are 932 commits to be
picked but most of them had no relation to the daemon code (Most commits
were package addition/update commits.) I also tried `git cherry master
guile-daemon`
and that too showed 932 "+ commits" and 0 "- commits".
The graph looks something like:
(78a5205) (2472f7a)
(master-HEAD)
*----------------*--------------------*-----------------------------*
\ (c4395e7) \
\ \
(e338c9b)
\
*-----------------------*-* (6dee54f - guile-daemon HEAD)
\ (36cc971)
/
*-----------------------*--------------------------------*
(654c8a7) (5e27bfc) (f5dfbaa)
A lot of commits on the guile daemon section of the branch are also found
between 78a5205 and 2472f7a. For example both c4395e7 and 5e27bfc
are the exact same patches and have the same patch-id. And almost all the
932 commits have a duplicate patch.
I think this is the reason why both rebase and cherry are showing a lot of
redundant commits.
To verify, I created an orphaned branch "orphan" from the 78a5205 commit and
and did `git cherry-pick 2472f7a..guile-daemon`. Then a `git cherry master
orphan`
revealed 30 "+ commits" and 902 "- commits". `git diff guile-daemon orphan`
was empty
and the 30 "+ commits" corresponded to the 30 commits by Caleb Ristvedt.
Shall I now rebase by picking only these 30 commits?
I don't know if what I am doing is right. I could use some guidance and
criticism now.
--
Sandeep (uniq10)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Rebasing guile-daemon branch onto master
2018-04-28 19:10 Rebasing guile-daemon branch onto master Sandeep Subramanian
@ 2018-04-28 20:45 ` Sandeep Subramanian
2018-04-28 22:40 ` Leo Famulari
1 sibling, 0 replies; 9+ messages in thread
From: Sandeep Subramanian @ 2018-04-28 20:45 UTC (permalink / raw)
To: guix-devel
> I was trying to rebase the guile-daemon branch onto the master branch
> and I have some trouble doing it.
> The interactive git rebase showed me that there are 932 commits to be
> picked but most of them had no relation to the daemon code (Most commits
> were package addition/update commits.) I also tried `git cherry master
> guile-daemon`
> and that too showed 932 "+ commits" and 0 "- commits".
> The graph looks something like:
> (78a5205) (2472f7a)
> (master-HEAD)
*----------------*--------------------*-----------------------------*
> \ (c4395e7) \
> \ \
> (e338c9b)
> \
> *-----------------------*-* (6dee54f - guile-daemon HEAD)
> \ (36cc971)
> /
*-----------------------*--------------------------------*
> (654c8a7) (5e27bfc)
(f5dfbaa)
> A lot of commits on the guile daemon section of the branch are also found
> between 78a5205 and 2472f7a. For example both c4395e7 and 5e27bfc
> are the exact same patches and have the same patch-id. And almost all the
> 932 commits have a duplicate patch.
> I think this is the reason why both rebase and cherry are showing a lot of
> redundant commits.
> To verify, I created an orphaned branch "orphan" from the 78a5205 commit
and
> and did `git cherry-pick 2472f7a..guile-daemon`. Then a `git cherry master
> orphan`
> revealed 30 "+ commits" and 902 "- commits". `git diff guile-daemon
orphan`
> was empty
> and the 30 "+ commits" corresponded to the 30 commits by Caleb Ristvedt.
> Shall I now rebase by picking only these 30 commits?
> I don't know if what I am doing is right. I could use some guidance and
> criticism now.
Fixed the graph formatting.
(78a5205) (2472f7a) (master-HEAD)
*---------*--------*--------------------*
\ (c4395e7) \
\ \ (e338c9b)
\ *--------------*-*(guile-daemon-HEAD)
\ (36cc971) /
\ /
*---------------*--------------*
(654c8a7) (5e27bfc) (f5dfbaa)
--
Sandeep (uniq10)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Rebasing guile-daemon branch onto master
2018-04-28 19:10 Rebasing guile-daemon branch onto master Sandeep Subramanian
2018-04-28 20:45 ` Sandeep Subramanian
@ 2018-04-28 22:40 ` Leo Famulari
2018-04-30 18:21 ` Sandeep Subramanian
1 sibling, 1 reply; 9+ messages in thread
From: Leo Famulari @ 2018-04-28 22:40 UTC (permalink / raw)
To: Sandeep Subramanian; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
On Sat, Apr 28, 2018 at 07:10:00PM +0000, Sandeep Subramanian wrote:
> Shall I now rebase by picking only these 30 commits?
>
> I don't know if what I am doing is right. I could use some guidance and
> criticism now.
Yes, I think that picking only those 30 commits is the right thing to
do.
Please let us know how it goes :)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Rebasing guile-daemon branch onto master
2018-04-28 22:40 ` Leo Famulari
@ 2018-04-30 18:21 ` Sandeep Subramanian
2018-05-01 20:41 ` Ludovic Courtès
0 siblings, 1 reply; 9+ messages in thread
From: Sandeep Subramanian @ 2018-04-30 18:21 UTC (permalink / raw)
To: leo; +Cc: guix-devel
I rebased the guile-daemon branch. I had to remove a bunch of
duplicate commits. The diff between the master merged to guile
daemon and the rebased guile daemon is empty and so I think
it went well.
You can find the result at: https://github.com/uniq10/guix
--
uniq10
On Sun, Apr 29, 2018 at 4:10 AM Leo Famulari <leo@famulari.name> wrote:
> On Sat, Apr 28, 2018 at 07:10:00PM +0000, Sandeep Subramanian wrote:
> > Shall I now rebase by picking only these 30 commits?
> >
> > I don't know if what I am doing is right. I could use some guidance and
> > criticism now.
> Yes, I think that picking only those 30 commits is the right thing to
> do.
> Please let us know how it goes :)
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2018-05-09 22:03 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-28 19:10 Rebasing guile-daemon branch onto master Sandeep Subramanian
2018-04-28 20:45 ` Sandeep Subramanian
2018-04-28 22:40 ` Leo Famulari
2018-04-30 18:21 ` Sandeep Subramanian
2018-05-01 20:41 ` Ludovic Courtès
2018-05-02 7:42 ` Sandeep Subramanian
2018-05-09 9:43 ` Ricardo Wurmus
2018-05-09 18:38 ` Sandeep Subramanian
2018-05-09 22:03 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.