Re: [PATCH] Fix detectition of kernel git repository in setlocalversion script [take #2]

2014-01-03 Thread Michal Marek
On Mon, Dec 02, 2013 at 04:34:29PM +0100, Franck Bui-Huu wrote: > setlocalversion script was testing the presence of .git directory in order to > find out > if git is used as SCM to track the current kernel project. However in some > cases, .git > is not a directory but can be a file: when the ke

[PATCH] Fix detectition of kernel git repository in setlocalversion script [take #2]

2013-12-02 Thread Franck Bui-Huu
setlocalversion script was testing the presence of .git directory in order to find out if git is used as SCM to track the current kernel project. However in some cases, .git is not a directory but can be a file: when the kernel is a git submodule part of a git super project for example. This pa