git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Pulling one commit at a time.

From
Sean Estabrooks <seanlkml@sympatico.ca>
Date
Aug 24, 2009, 08:20 UTC
Message-ID
<BLU0-SMTP3926FD52F3B0ED67F486AAAEF90@phx.gbl>
In-Reply-To
<4A92476A.4060205@microchip.com>

On Mon, 24 Aug 2009 13:25:22 +0530 Sanjiv Gupta <sanjiv.gupta@microchip.com> wrote:

Hi Sanjiv,
Show 6 quoted lines
> What I would like is to "test *every* commit" available in the public 
> master. There would be no local changes or commits that aren't pushed in 
> the private copy.
> So I just want to clone one copy from the public master and then just 
> keep pulling commits from the public master one by one and run 
> regressions on each one.

There's no reason to ask for the commits from the public master one by one. You can download them all in one operation. After that it is a local operation to checkout each new commit and build-test it. This is more efficient than needing a network operation to get each commit individually.

As an aside, you might not really need to test each and every commit. It is likely enough to just test the most recent commit since it is built on top of all the commits that came before it. Essentially you'd be testing all the new commits at once and only need to test more commits (git bisect) if you found a regression with that first test.

> It's a damn simple thing in SVN world.

With Git you have a complete local copy of the history. Once you're up to date with remote master you can checkout each new commit at your leisure pretty damn simply ;o)

Cheers, Sean

Previous: Sanjiv GuptaNext: Erik Faye-Lund
Message 10 of 20 in “Pulling one commit at a time.”
  1. Sanjiv GuptaAug 23, 2009
  2. Alex RiesenAug 23, 2009
  3. Adam BrewsterAug 23, 2009
  4. Sam VilainAug 23, 2009
  5. Nanako ShiraishiAug 23, 2009
  6. Junio C HamanoAug 23, 2009
  7. Sanjiv GuptaAug 24, 2009
  8. Kai BlinAug 24, 2009
  9. Sanjiv GuptaAug 24, 2009
  10. Sean EstabrooksAug 24, 2009
  11. Erik Faye-LundAug 24, 2009
  12. Erik Faye-LundAug 24, 2009
  13. Matthieu MoyAug 24, 2009
  14. skillzero@gmail.comAug 24, 2009
  15. Matthieu MoyAug 24, 2009
  16. David AguilarAug 24, 2009
  17. Sanjiv GuptaAug 24, 2009
  18. Matthieu MoyAug 24, 2009
  19. Avery PennarunAug 24, 2009
  20. Sanjiv GuptaAug 24, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.