git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pre-receive - 1st push
@ 2010-07-25 15:13 Mahesh Vaidya
  0 siblings, 0 replies; only message in thread
From: Mahesh Vaidya @ 2010-07-25 15:13 UTC (permalink / raw)
  To: git

Hi I want ensure that commits are in particular format before doing
receive-pack. I use pre-receive hook

I use git-revlist command. This works fine when that branch exist in
destination origin.

When I am doing a push 1st ever time and sending clone is sending 3
commits; how do i determine which are those 3 commits on the specific
branch.

git rev-list <commit> gives just too many commits ; I have done only 3
commits on source repository. destination repo don't have that branch
yet so no use of git-show-branch)


Thx/ Mahesh

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-25 15:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-25 15:13 pre-receive - 1st push Mahesh Vaidya

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