[Libre-soc-bugs] [Bug 847] dev-env-setup script for binutils-gdb for target powerpc64le-linux-gnu

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Jun 10 18:19:36 BST 2022


https://bugs.libre-soc.org/show_bug.cgi?id=847

Jacob Lifshay <programmerjake at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |programmerjake at gmail.com

--- Comment #9 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #8)
> (In reply to Dmitry Selyutin from comment #7)
> > Also you likely don't need to clone the whole repo, limit the history with
> > --depth=1.
> 
> apparently you need --no-single-branch as well otherwise you
> end up only with master branch

a better option is:
git clone --depth 1 -b <the-branch-you-want> <url.git> <dir>

that only fetches the latest commit on the branch you want (which can be a tag
rather than a branch).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list