git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is there a way to add a default `--squash` flag for all merges into a head?
@ 2011-03-07 19:28 Dun Peal
  2011-03-07 21:10 ` Andreas Schwab
  2011-03-08  7:29 ` Jay Soffian
  0 siblings, 2 replies; 9+ messages in thread
From: Dun Peal @ 2011-03-07 19:28 UTC (permalink / raw)
  To: git

Hi,

Our main Git repository supports a lot of developers working on
multiple branches from master. Whenever the work on a branch is
finished, the branch-owning developer(s) merge it back to master. That
merge is always done with a `--squash` flag to avoid the 50+ levels
deep graph we would end up with if everyone just used a true merge.

There's a configuration feaute `branch.<name>.rebase` for specifying
that all merges into a branch (master in this case) would be done by
rebase, so I was expecting a similar feature for always squashing back
(since some developers may forget to add the flag). Unfortunately, I
couldn't find it. Does it exist?

Thanks, D.

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

end of thread, other threads:[~2011-03-10 19:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-07 19:28 Is there a way to add a default `--squash` flag for all merges into a head? Dun Peal
2011-03-07 21:10 ` Andreas Schwab
2011-03-07 21:48   ` Dun Peal
2011-03-08 19:28     ` Junio C Hamano
2011-03-09 18:38       ` Dun Peal
2011-03-09 19:27         ` Junio C Hamano
2011-03-09 20:11           ` Dun Peal
2011-03-08  7:29 ` Jay Soffian
2011-03-10 19:38   ` Dun Peal

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 NNTP newsgroup(s).