repo init einem bestimmten commit

Im Gebäude der Cyanogenmod 9 (Android ICS) - system für ein Nexus S Handy (samsung crespo).
Das problem ist, dass, wenn ich tun:

repo init -u git://github.com/CyanogenMod/android.git -b ics  

Den repo-inits auf den neuesten commit des ICS, in denen das manifest nicht enthalten sind einige device/samsung/Projekte, die ich brauche (speziell https://github.com/CyanogenMod/android_device_samsung_crespo).

Wie kann ich das repo init auf einen bestimmten commit?
In meinem Fall möchte ich den letzten commit mit dem google-android-4.0.3_r1 Zweig.
Ist dieses hier:

Wenn ich

repo init -u git://github.com/CyanogenMod/android.git -b commit-hash

Nicht funktioniert, scheint das repo init -b unterstützen nur den KOPF von einem Zweig.

Vielen Dank im Voraus.

InformationsquelleAutor renzoe | 2012-05-30

Schreibe einen Kommentar