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

Re: Is there any plan to support partial checkout or submoudule improvement?

From
LHLars Hjemli <hjemli@gmail.com>
Date
Oct 16, 2007, 10:50 UTC
Message-ID
<8c5c35580710160350h53a7b5c4k374067372d4aac1d@mail.gmail.com>
In-Reply-To
<20071016095622.CE14F7E6F@mail.kooxoo.com>
On 10/16/07, franky <yinping@kooxoo.com> wrote:
> lars said:
> > $ git archive --remote=<repo> <revspec> <path> | tar -x
>
> I can't know deployment version easily

The <revspec> can be a tag. So you can easily create a wrapper script to allow such things as

$ ./deploy.sh v1.2.3 $ ./deploy.sh HEAD $ ./deploy.sh master $ ./deploy.sh <sha1>

(note: for this to work with the git:// protocol, git-daemon needs --enable=upload-archive)

-- 
larsh
Previous: frankyNext: franky
Message 6 of 11 in “Is there any plan to support partial checkout or submoudule improvement?”
  1. frankyOct 16, 2007
  2. Lars HjemliOct 16, 2007
  3. frankyOct 16, 2007
  4. Lars HjemliOct 16, 2007
  5. frankyOct 16, 2007
  6. Lars HjemliOct 16, 2007
  7. frankyOct 16, 2007
  8. Johannes SchindelinOct 16, 2007
  9. frankyOct 16, 2007
  10. Jan HudecOct 16, 2007
  11. frankyOct 17, 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.