allwinner-zh / linux-3.4-sunxi

kernel 3.4 for sunxi platforms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No git history for source drop

wingrime opened this issue · comments

Kernel is very complex thing, so it's very preferred to have commit history imported to repository, git history can be very helpful for issue solving. And necessary to understand changes between source drops

If no development history can be made available, would it make sense to base the repository over that Android linux-3.4 version so that it is visible which commits are really from the sunxi development?

This is the first verison of the opensource, we want it as clean as possible, and no GPL issue. Then, we will improve the open source step by step, and keep the commits.

In that case it clearly possible make it like a single patch over android-3.4 kernel using diff (worst case)

If you use the https://android.googlesource.com/kernel/common.git (branch android-3.4), you can
git checkout -b sunxi-3.4 959a041622681cdb0af79c71d51b8128cd201413
and get a somewhat close state to what is changing.
I got 959a041622681cdb0af79c71d51b8128cd201413 with trial and error (checking out one commit at a time going backwards in time, and trying to find an exact same version of an unrelated file). It's not an excellent match, so it would help if @allwinner-zh could provide a better point.

p.s. I used the script https://gist.github.com/simos/8d4666fa3edd1c52fce2 to figure out the approximate commit.