git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Push tag from shallow clone?
@ 2009-03-19 17:56 skillzero
  2009-03-19 18:02 ` Shawn O. Pearce
  0 siblings, 1 reply; 3+ messages in thread
From: skillzero @ 2009-03-19 17:56 UTC (permalink / raw)
  To: git

The documentation for git clone says that if you use --depth=1 to make
a shallow clone that you can't push it. But I made a shallow clone,
created a tag, then tried to push that tag and it worked. Am I just
getting lucky or is it safe to push a tag with a shallow clone?

The reason I ask is that we have an automatic builder/tester/archiver
where I'd like to make a shallow clone (to save space since it only
needs the tip of the branch to do the build), do the normal build and
test and if it all passes, tag it, and push the tag so people can pull
tags that have been verified by the automated builder.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-20  0:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-19 17:56 Push tag from shallow clone? skillzero
2009-03-19 18:02 ` Shawn O. Pearce
2009-03-20  0:01   ` skillzero

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).