From: Mahesh Vaidya <forvaidya@gmail.com>
To: git@vger.kernel.org
Subject: pre-receive - 1st push
Date: Sun, 25 Jul 2010 20:43:43 +0530 [thread overview]
Message-ID: <AANLkTi=atkT2n0-+3pXevp-mBahtf1sXmNa+DEVbt=E_@mail.gmail.com> (raw)
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
reply other threads:[~2010-07-25 15:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=atkT2n0-+3pXevp-mBahtf1sXmNa+DEVbt=E_@mail.gmail.com' \
--to=forvaidya@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).