0

I followed the steps on http://source.android.com/source/building-kernels.html in order to look at the kernel sources.

$ git clone https://android.googlesource.com/kernel/tegra.git
Cloning into 'tegra'...
remote: Total 2219519 (delta 1857594), reused 2219519 (delta 1857594)
Receiving objects: 100% (2219519/2219519), 436.09 MiB | 3.08 MiB/s, done.
Resolving deltas: 100% (1857594/1857594), done.

Now, this is very strange... the project is empty

git log shows the following:

$ git log
commit a89a700fada233480530e4741cca876cfdd4eb9c
Author: Jean-Baptiste Queru <jbq@google.com>
Date:   Tue Nov 15 14:46:15 2011 -0800

    empty commit

what's going on, where are the sources ?

4

1 回答 1

3

好的,我正在回答我自己的问题。显然,主分支是空的,内容在其他分支上可用。

git branch -a

显示很少的分支。我签出了其中一个,我得到了代码。

于 2013-04-23T15:41:50.717 回答