git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "franky" <yinping@kooxoo.com>
To: <git@vger.kernel.org>
Subject: Is there any plan to support partial checkout or submoudule improvement?
Date: Tue, 16 Oct 2007 11:20:47 +0800	[thread overview]
Message-ID: <20071016032048.771557E80@mail.kooxoo.com> (raw)

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.

             reply	other threads:[~2007-10-16  3:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-16  3:20 franky [this message]
2007-10-16  8:08 ` Is there any plan to support partial checkout or submoudule improvement? Lars Hjemli
2007-10-16  8:27   ` franky
2007-10-16  8:42     ` Lars Hjemli
2007-10-16  9:56       ` franky
2007-10-16 10:50         ` Lars Hjemli
2007-10-16 11:45           ` franky
2007-10-16 11:02     ` Johannes Schindelin
2007-10-16 11:53       ` franky
2007-10-16 21:33         ` Jan Hudec
2007-10-17  2:54           ` Is there any plan to support partial checkout or submouduleimprovement? franky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071016032048.771557E80@mail.kooxoo.com \
    --to=yinping@kooxoo.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).