[development] Git best practices for client codebases

Sam Boyer drupal at samboyer.org
Tue Mar 1 18:41:41 UTC 2011


Clone with depth parameters will help reduce size, yep. Not sure what
you're going for with a diff on subdirs - if you mean diffing modules,
then diffing subdirs really depends on how you've chosen to compose your
tree - submodules, subtree merges, or plain nested repos.

On 3/1/11 7:53 AM, Fahri Reza wrote:
> how about doing shallow clone with
> $git-clone --depth=1
> then run recursive-diff on the sub-directories (n=1 is just an example)
> 
> can someone gives comment whether this approach is recommended?
> 
> -- fireh --


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
Url : http://lists.drupal.org/pipermail/development/attachments/20110301/764a507a/attachment.bin 


More information about the development mailing list