git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git push controls / config
@ 2010-06-22 10:50 Mahesh Vaidya
  2010-06-22 10:53 ` Ævar Arnfjörð Bjarmason
  0 siblings, 1 reply; 3+ messages in thread
From: Mahesh Vaidya @ 2010-06-22 10:50 UTC (permalink / raw)
  To: git

How can I prevent (via a config file) someone from pushing a

1) same commit with --amend;
      - we rely on commit log; bug number. If some one changes bug
number via amend; that risks the integrity.

2) creating and removing Tags and Branches
    - same - Tags are of special importance to us.



Thx/ Mahesh

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

* Re: git push controls / config
  2010-06-22 10:50 git push controls / config Mahesh Vaidya
@ 2010-06-22 10:53 ` Ævar Arnfjörð Bjarmason
       [not found]   ` <AANLkTik3H-Bkkd0i71kaMFtZOQfJVDplVQHTqPoX15HE@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-06-22 10:53 UTC (permalink / raw)
  To: Mahesh Vaidya; +Cc: git

On Tue, Jun 22, 2010 at 10:50, Mahesh Vaidya <forvaidya@gmail.com> wrote:
> How can I prevent (via a config file) someone from pushing a
>
> 1) same commit with --amend;
>      - we rely on commit log; bug number. If some one changes bug
> number via amend; that risks the integrity.
>
> 2) creating and removing Tags and Branches
>    - same - Tags are of special importance to us.

Check out some of the on-commit filters, e.g. gitosis that do this.

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

* Re: git push controls / config
       [not found]   ` <AANLkTik3H-Bkkd0i71kaMFtZOQfJVDplVQHTqPoX15HE@mail.gmail.com>
@ 2010-06-22 11:19     ` Ævar Arnfjörð Bjarmason
  0 siblings, 0 replies; 3+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2010-06-22 11:19 UTC (permalink / raw)
  To: Mahesh Vaidya

On Tue, Jun 22, 2010 at 10:56, Mahesh Vaidya <forvaidya@gmail.com> wrote:
> I have no control over commits; I can only control pre-receive hook
> and config file on master repos.

And that's all you need.

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

end of thread, other threads:[~2010-06-22 11:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-22 10:50 git push controls / config Mahesh Vaidya
2010-06-22 10:53 ` Ævar Arnfjörð Bjarmason
     [not found]   ` <AANLkTik3H-Bkkd0i71kaMFtZOQfJVDplVQHTqPoX15HE@mail.gmail.com>
2010-06-22 11:19     ` Ævar Arnfjörð Bjarmason

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).