Re: how to squash a few commits in the past

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gelonida
Date: Wednesday, May 5, 2010 - 2:41 pm

Hi Ragu,

Ramkumar Ramachandra wrote:



Yes merging manually could be a theortical solution, but I really don't
understand, why I should merge anything at all.



The history is purely linear at the places where I want to squash.

These two commits precede a few more consecutive commits, traverse then
a tree which forks to multiple branches, which partially cherrypick from
each other and will then join again to a unique linear sequence.

If I have a history of several hundred commits and I am asked several
times to merge, just because I want to squash two consecutve commits
without any branches going out or in, then something (probably the way I
try to attack the problem or much less likely a mysterious git bug) is
kind of wrong.



I'm still looking for a solution, where I specify only the commits to be
squashed and everything else stays untouched without any further
userinteraction

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
how to squash a few commits in the past, Gelonida, (Mon May 3, 2:33 am)
Re: how to squash a few commits in the past, Michael J Gruber, (Mon May 3, 3:09 am)
Re: how to squash a few commits in the past, Gelonida, (Mon May 3, 1:45 pm)
Re: how to squash a few commits in the past, Gelonida, (Mon May 3, 1:55 pm)
Re: how to squash a few commits in the past, Gelonida, (Mon May 3, 2:20 pm)
Re: how to squash a few commits in the past, Ramkumar Ramachandra, (Wed May 5, 6:19 am)
Re: how to squash a few commits in the past, Gelonida, (Wed May 5, 2:41 pm)
Re: how to squash a few commits in the past, Johannes Sixt, (Wed May 5, 11:45 pm)