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

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

From
Ffranky <yinping@kooxoo.com>
Date
Oct 16, 2007, 03:20 UTC
Message-ID
<20071016032048.771557E80@mail.kooxoo.com>
Here is my pain when using git without partial checkout and submodule
improvement.
	I want to manage src and compiled bin together consistently. And
when deploying, I don't need the src directory.
	My directory structure is like
	Project
         Src
         Bin
Following is two schemes I have considered
1. src, bin as two submoudles
	When changes are made in src, compiled binaries are put in bin
directory. So when I commit, I have to commit 3 times and write 3 commit
comments separately (in Project, src, bin). 
	I think if some improvement in submodule, this problem can be
avoided. For example, when committing in Project directory, all changes in
submoules are also automatically committed. Maybe a new subcommand
"git-submodule commit" to commit all submodules but share a single comment
and "git-commit -A" to commit both files and submodule?
2. src, bin not submoudle, just sub directory
	When src changes, compiled binaries are still put in bin directory.
However, only one commit is required. Perfect? No, another problem when
deploying. I don't want the src directory to appear in the deployment
directory. However, without partial checkout, I can't do that, since every
time bin and src directories are checked out together.
Next: Lars Hjemli
Message 1 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.