Re: git bisect not accepting -git kernels
From: Amit Walambe <hidden>
Date: 2016-06-15 22:43:22
Thanks a ton everyone for all the replies. Here is the current status : René Scharfe wrote:
Amit Walambe schrieb:quoted
Hi! I was trying to do a git bisect on 2.6.22-git6 and 2.6.22-git8. For which I get following error : root@amit:/usr/src/linux-git # git bisect good v2.6.22-git6 Bad rev input: v2.6.22-git6The -git snapshots are made automatically by kernel.org, and their name is not included in the git repository. You could create tags for them like this: git tag v2.6.22-git6 8f41958bdd577731f7411c9605cfaa9db6766809 git tag v2.6.22-git8 a5fcaa210626a79465321e344c91a6a7dc3881fa ... and afterwards you can use those revision names with bisect (or other git commands). I've got the commit IDs (i.e. those mysterious 40 hex digits above) from the first line of the changelogs; their URLs are: http://kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.22-git6.log http://kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.22-git8.log
I found the commit ids in following file as well : http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.22-git6.id http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.22-git8.id But telling good/bad points to git bisect still fails, whether I pass the commit-id or the tags I created with commands given by René : root@amit:/usr/src/linux-git # git bisect good 8f41958bdd577731f7411c9605cfaa9db6766809 cat: .git/BISECT_NAMES: No such file or directory root@amit:/usr/src/linux-git # root@amit:/usr/src/linux-git # root@amit:/usr/src/linux-git # git tag v2.6.22-git6 8f41958bdd577731f7411c9605cfaa9db6766809 root@amit:/usr/src/linux-git # git tag v2.6.22-git8 a5fcaa210626a79465321e344c91a6a7dc3881fa root@amit:/usr/src/linux-git # root@amit:/usr/src/linux-git # root@amit:/usr/src/linux-git # git bisect good v2.6.22-git6 cat: .git/BISECT_NAMES: No such file or directory root@amit:/usr/src/linux-git # root@amit:/usr/src/linux-git # root@amit:/usr/src/linux-git # root@amit:/usr/src/linux-git # git bisect bad v2.6.22-git8 cat: .git/BISECT_NAMES: No such file or directory Thanks and Regards, -- Amit Walambe Design Engineer, Arcom Control Systems Ltd. http://www.arcom.com Tel: +44-(0)1223 411200 ext. 3204 Direct: +44-(0)1223 403465 _____________________________________________________________________ The message in this transmission is sent in confidence for the attention of the addressee only and should not be disclosed to any other party. Unauthorised recipients are requested to preserve this confidentiality. Please advise the sender if the addressee is not resident at the receiving end. Email to and from Arcom is automatically monitored for operational and lawful business reasons. This message has been virus scanned by MessageLabs.