Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

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

From: David Frech <hidden>
Date: 2016-06-15 22:43:21

On 7/12/07, Junio C Hamano [off-list ref] wrote:
"David Frech" [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help