git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Removing options from build

From
Björn Steinbrink <b.steinbrink@gmx.de>
Date
Jan 13, 2009, 22:07 UTC
Message-ID
<20090113220730.GF30404@atjola.homenet>
In-Reply-To
<1231884045.14181.36.camel@starfruit>
On 2009.01.13 14:00:45 -0800, R. Tyler Ballance wrote:
Show 16 quoted lines
> On Tue, 2009-01-13 at 22:53 +0100, Thomas Rast wrote:
> > R. Tyler Ballance wrote:
> > > Besides a vigorous flogging, we're looking at other ways to prevent this
> > > sort of thing from happening again; the option we've settled on is to
> > > remove the "--force" flag from our internal build of v1.6.1
> > >
> > > I'm wondering if somebody could point me in the right direction to
> > > remove "--force" (safely) from the builtin-push.c and removing the
> > > "rebase" command (we've got no use for it, and would prefer it gone).
> > 
> > IMHO your update (or pre-receive) hook should just disallow
> > non-fast-forward updates.
> 
> Don't merges count as non-fast-forward updates? We generate merge
> commits with almost every merge, rarely do we actually have
> fast-forwards anymore (highly active repository)
No, merges are "fast-forward". In rev-list terms:
git rev-list new_head..old_head ==> Empty
IOW: No commits are lost by the push.
Merges only add commits to the history, they don't remove anything.
Björn
Previous: R. Tyler BallanceNext: Boyd Stephen Smith Jr.
Message 5 of 12 in “Removing options from build”
  1. R. Tyler BallanceJan 13, 2009
  2. Thomas RastJan 13, 2009
  3. Thomas RastJan 13, 2009
  4. R. Tyler BallanceJan 13, 2009
  5. Björn SteinbrinkJan 13, 2009
  6. Boyd Stephen Smith Jr.Jan 13, 2009
  7. Daniel BarkalowJan 13, 2009
  8. Björn SteinbrinkJan 13, 2009
  9. Jakub NarebskiJan 13, 2009
  10. Boyd Stephen Smith Jr.Jan 13, 2009
  11. R. Tyler BallanceJan 13, 2009
  12. Boyd Stephen Smith Jr.Jan 13, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.