git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jateeq <jawad_atiq@hotmail.com>
To: git@vger.kernel.org
Subject: Getting a branch's time of creation
Date: Wed, 17 Mar 2010 07:45:07 -0700 (PDT)	[thread overview]
Message-ID: <27933166.post@talk.nabble.com> (raw)


Hello,

I am trying to find the time at which a remote branch was created, so that I
can use the '--since' option in git log to limit the commits to only ones
that were created for that branch (read below to see why I can't use 'git
log <branchnname>). So my question: does git remember the time at which a
branch was created, and how can it be listed?

NOTE: Once I clone a repository that contains Branch1 (which will have its
own commits as well as commits from the master branch), I create Branch2 in
the clone to track Branch1. Branch1 will have commits before the cloning,
and Branch2 will have its own commits after the cloning, but I want to list
both. The way I am thinking of doing it is to list all commits for Branch2,
and then limit the commits to only ones that were created after Branch1 was
created.

If anyone has suggestions on doing this alternatively, feel free to pitch
in. Thank you.
Jawad.

-- 
View this message in context: http://old.nabble.com/Getting-a-branch%27s-time-of-creation-tp27933166p27933166.html
Sent from the git mailing list archive at Nabble.com.

             reply	other threads:[~2010-03-17 14:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-17 14:45 jateeq [this message]
2010-03-17 16:32 ` Getting a branch's time of creation Randal L. Schwartz
2010-03-17 17:24   ` jateeq
2010-03-19 20:54 ` Jakub Narebski

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=27933166.post@talk.nabble.com \
    --to=jawad_atiq@hotmail.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).