Re: Bugs in Gitosis

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Shawn O. Pearce
Date: Monday, November 1, 2010 - 10:32 am

"Olsen, Alan R" <alan.r.olsen@intel.com> wrote:

Don't push to refs/for/master.  Grant yourself Push Branch +1
(or +2 if you need to create the branch) and push directly to
refs/heads/master like you would with Gitolite, Gitosis or any
other Git repository.  Gerrit won't create a change record, and
thus won't be swamped.


I think it handles rebases about as well as any other Git tool, you
need to enable Push +3 to permit force push/rewind of the relevant
branches, and then actually do the force push.  Any pending commit
will need to be rebased.  Which is also true for just about any
workflow except the classic Linux kernel "format-patch and email"
model.  Switching to gitolite probably won't easy the rebase pain.

FWIW, the Google kernel developers have their Gerrit instance
configured to use the cherry-pick submit type on their kernel
repositories, which makes changes submittable across rebases,
because its emulating the format-patch->email->am workflow that
is traditionally used for kernel development.


I'm also among those people, as are many of Google's kernel
developers.  We just use git push to talk to Gerrit... and
that is one of the primary reasons it embeds its own SSHD.

-- 
Shawn.
--
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:
Bugs in Gitosis, Olsen, Alan R, (Thu Oct 28, 1:58 pm)
Re: Bugs in Gitosis, Matthieu Moy, (Thu Oct 28, 2:42 pm)
RE: Bugs in Gitosis, Olsen, Alan R, (Thu Oct 28, 3:22 pm)
Re: Bugs in Gitosis, Sitaram Chamarty, (Thu Oct 28, 4:54 pm)
Re: Bugs in Gitosis, Sitaram Chamarty, (Thu Oct 28, 5:02 pm)
RE: Bugs in Gitosis, Olsen, Alan R, (Mon Nov 1, 10:23 am)
Re: Bugs in Gitosis, Shawn O. Pearce, (Mon Nov 1, 10:32 am)