This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A Proposal to Move to Git


>>>>> "H.J. Lu" <hjl.tools@gmail.com>:

> I assume git repo has both binutils and gdb. Is that possible to only
> checkout binutils portion?

Not as such.  There is something similar called sparse checkouts.
Eg. if your source is organized like
 binutils/
 gdb/
you can opt to checkout only 
 binutils/
in your working directory.

But it still will be organized as a binutils/ subdirectory at the top
level.

Ie. if you clone your binutils-only version of gdb+binutils like so
 git clone git://somegitrepo.org/gdbbinutils.git binutils
you will have to do
 cd binutils/binutils
to get to he interesting stuff...

Also the "user interface" for sparse checkouts kinda sucks:
 - You set a git property
 - You add lines to a text file saying what should be checked out
 - You either do an initial checkout, or you use the little used command
   git-read-tree to update the working directory

After this, git can be used normally (merge, add, commit, push).

If disk usage is an issue, I guess it could be useful...?  You would
still have the entire git repo, though.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]