git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Something wrong with next in main git repository?
@ 2008-03-07 11:29 Andy Parkins
  2008-03-07 11:42 ` Jonathan del Strother
  2008-03-07 11:51 ` Johannes Schindelin
  0 siblings, 2 replies; 4+ messages in thread
From: Andy Parkins @ 2008-03-07 11:29 UTC (permalink / raw
  To: Git Mailing List

Hello,

I've been keeping up with development only intermittently lately, and just got 
a warning from git fetch (in my git directory) that the update to my 'next' 
tracking branch was rejected as not being a fast forward.

I renamed my current up/next to up/oldnext and fetched the latest next, so I 
had up/oldnext and up/next to compare.  I'm probably concerned over nothing, 
but I can't find any mention of a rewind of next in the mailing list.

As far as I can tell a whole series of merges has just vanished.  For 
information:

 $ git rev-parse up/next up/oldnext
 0bdd7328c801101d752d0dfc9976a50651738897
 38fd5a1b23780381c3b6987c730f5ea3d8e1fc7f

 $ git merge-base up/next up/oldnext
 ef5b9d6e2286630bf8afb5bdf1c6e3356f3d50c7

Apart from all the merges that have vanished, some revisions have vanished too 
(vanished in the sense, they aren't on the branch any more).  i.e.

 $ git log --no-merges --pretty=oneline up/next..up/oldnext
 33369889 Revert "Support builtin aliases"
 3a569a00 Revert "parse_commit_buffer: don't parse invalid commits"
 1b1b2346 parse_commit_buffer: don't parse invalid commits
 f0a31f58 Avoid redundant declaration of missing_target()
  ... etc ...
 0edad442 adjust_shared_perm: chmod() only when needed.
 69a47520 Revert "pack-objects: use of version 3 delta is now optional."
 394737eb pack-objects: use of version 3 delta is now optional.

Have all these commits gone missing?  I'm certain that someone other than me 
would have noticed this sort of loss, so is it something I've done wrong or 
misunderstood?



Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com

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

* Re: Something wrong with next in main git repository?
  2008-03-07 11:29 Something wrong with next in main git repository? Andy Parkins
@ 2008-03-07 11:42 ` Jonathan del Strother
  2008-03-07 11:51 ` Johannes Schindelin
  1 sibling, 0 replies; 4+ messages in thread
From: Jonathan del Strother @ 2008-03-07 11:42 UTC (permalink / raw
  To: Andy Parkins; +Cc: Git Mailing List

On Fri, Mar 7, 2008 at 11:29 AM, Andy Parkins <andyparkins@gmail.com> wrote:
> Hello,
>
>  I've been keeping up with development only intermittently lately, and just got
>  a warning from git fetch (in my git directory) that the update to my 'next'
>  tracking branch was rejected as not being a fast forward.
>
>  I renamed my current up/next to up/oldnext and fetched the latest next, so I
>  had up/oldnext and up/next to compare.  I'm probably concerned over nothing,
>  but I can't find any mention of a rewind of next in the mailing list.
>
>  As far as I can tell a whole series of merges has just vanished.  For
>  information:
>
>   $ git rev-parse up/next up/oldnext
>   0bdd7328c801101d752d0dfc9976a50651738897
>   38fd5a1b23780381c3b6987c730f5ea3d8e1fc7f
>
>   $ git merge-base up/next up/oldnext
>   ef5b9d6e2286630bf8afb5bdf1c6e3356f3d50c7
>
>  Apart from all the merges that have vanished, some revisions have vanished too
>  (vanished in the sense, they aren't on the branch any more).  i.e.
>
>   $ git log --no-merges --pretty=oneline up/next..up/oldnext
>   33369889 Revert "Support builtin aliases"
>   3a569a00 Revert "parse_commit_buffer: don't parse invalid commits"
>   1b1b2346 parse_commit_buffer: don't parse invalid commits
>   f0a31f58 Avoid redundant declaration of missing_target()
>   ... etc ...
>   0edad442 adjust_shared_perm: chmod() only when needed.
>   69a47520 Revert "pack-objects: use of version 3 delta is now optional."
>   394737eb pack-objects: use of version 3 delta is now optional.
>
>  Have all these commits gone missing?  I'm certain that someone other than me
>  would have noticed this sort of loss, so is it something I've done wrong or
>  misunderstood?
>

'next' now gets rewound after each feature release, to try and give a
clean slate to base new work off of.  Is that perhaps what you're
seeing?

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

* Re: Something wrong with next in main git repository?
  2008-03-07 11:29 Something wrong with next in main git repository? Andy Parkins
  2008-03-07 11:42 ` Jonathan del Strother
@ 2008-03-07 11:51 ` Johannes Schindelin
  2008-03-07 15:27   ` Andy Parkins
  1 sibling, 1 reply; 4+ messages in thread
From: Johannes Schindelin @ 2008-03-07 11:51 UTC (permalink / raw
  To: Andy Parkins; +Cc: Git Mailing List

Hi,

On Fri, 7 Mar 2008, Andy Parkins wrote:

> I've been keeping up with development only intermittently lately, and 
> just got a warning from git fetch (in my git directory) that the update 
> to my 'next' tracking branch was rejected as not being a fast forward.

Junio announced this (IIRC a couple of times), and you can also read in 
MaintNotes:

> The two branches "master" and "maint" are never rewound, and "next" 
> usually will not be either (this automatically means the topics that 
> have been merged into "next" are usually not rebased, and you can find 
> the tip of topic branches you are interested in from the output of "git 
> log next"). You should be able to safely track them.

> After a feature release is made from "master", however, "next" will be 
> rebuilt from the tip of "master" using the surviving topics. The commit 
> that replaces the tip of the "next" will have the identical tree, but it 
> will have different ancestry from the tip of "master". An announcement 
> will be made to warn people about such a rebasing.

Hth,
Dscho


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

* Re: Something wrong with next in main git repository?
  2008-03-07 11:51 ` Johannes Schindelin
@ 2008-03-07 15:27   ` Andy Parkins
  0 siblings, 0 replies; 4+ messages in thread
From: Andy Parkins @ 2008-03-07 15:27 UTC (permalink / raw
  To: git

Johannes Schindelin wrote:

>> After a feature release is made from "master", however, "next" will be
>> rebuilt from the tip of "master" using the surviving topics. The commit

Apologies for the noise; and lack of reading ability ;-)


Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com


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

end of thread, other threads:[~2008-03-07 15:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-07 11:29 Something wrong with next in main git repository? Andy Parkins
2008-03-07 11:42 ` Jonathan del Strother
2008-03-07 11:51 ` Johannes Schindelin
2008-03-07 15:27   ` Andy Parkins

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).