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

Re: sharing between local "work" and "nightly build" git repos

From
DFDavid Frech <nimblemachines@gmail.com>
Date
Jul 13, 2007, 00:27 UTC
Message-ID
<7154c5c60707121727k36854891u82afc4a8be822861@mail.gmail.com>
In-Reply-To
<7vmyy1rwza.fsf@assigned-by-dhcp.cox.net>
On 7/12/07, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> "David Frech" <nimblemachines@gmail.com> writes:
> If you are willing to redo the nightly repository from scratch,
> I would probably recommend using --reference option when
> cloning, like this:
>
>  $ git clone --reference ~david/git git://git.kernel.org/... ~/nightly-git
>  $ cd ~/nightly-git
>  $ git checkout --track -b next origin/next
>
> Then a nightly update would go like this:
>
>  $ cd ~/nightly-git
>  $ git pull origin next
>  $ make clean
>  $ make test || barf
This makes sense, including the --track, which I neglected to set.

Could you, for my sake and the list's (if others are as confused) be clearer about the distinctions among -l, -s, and --reference? Exactly what they do, and their orthogonality (or lack of) really isn't clear from reading the man page.

Thanks for your help! I'll set this up and hopefully start running it tonight.
If the build or test barfs, who should get the mail?

BTW, I figured out a sneaky way (using filters in Gmail) to send it thru my Gmail account, so I won't have any issues with sending via SMTP from a dynamic IP.

Cheers,
- David
-- 
If I have not seen farther, it is because I have stood in the
footsteps of giants.
Previous: Junio C HamanoNext: David Frech
Message 3 of 6 in “sharing between local "work" and "nightly build" git repos”
  1. David FrechJul 12, 2007
  2. Junio C HamanoJul 13, 2007
  3. David FrechJul 13, 2007
  4. David FrechJul 13, 2007
  5. Alex RiesenJul 13, 2007
  6. Junio C HamanoJul 13, 2007

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.