Vasilis Tsiligiannis b09848cd25 scripts/getver.sh: Use 'git-rev-parse' to detect if tree lies in Git repository
Path to the Git repository directory can be overriden by using the '$GIT_DIR'
environment variable. This patch improves detection of Git repository by using
'git-rev-parse', which respects '$GIT_DIR' environment variable, instead of just
checking the existence of '.git' directory.

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>

SVN-Revision: 49165
2016-04-13 20:52:26 +00:00
..
2015-11-02 18:12:45 +00:00
2015-11-02 18:12:45 +00:00
2015-10-07 10:51:18 +00:00
2013-03-07 17:32:29 +00:00
2013-03-07 17:32:29 +00:00
2010-03-18 23:35:21 +00:00