All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leonid Podolny <leonidp.lists@gmail.com>
To: git@vger.kernel.org
Subject: last commit in a directory
Date: Tue, 25 Jan 2011 10:29:46 +0200	[thread overview]
Message-ID: <4D3E89FA.4080901@gmail.com> (raw)

Hi,
I have a really simple question: how do I find a last commit for the given directory inside the repository? I want to avoid rebuilding the specific part of the project if there were no changes in it since the last build, so I need to find the sha of the last time the directory was changed.
  Thanks, L.

             reply	other threads:[~2011-01-25  8:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25  8:29 Leonid Podolny [this message]
2011-01-25  8:47 ` last commit in a directory Johannes Sixt
2011-01-25  8:50   ` Leonid Podolny

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=4D3E89FA.4080901@gmail.com \
    --to=leonidp.lists@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.