diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-21 18:02:51 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-21 18:02:51 +0100 |
commit | fa2396bd767fa688f67c37f9287918b0b8b83ebf (patch) | |
tree | 75c7b2acbd4e684cf2b8419da36292357ea03760 /update-common | |
parent | 5fcfed17051513b1557cff385d0e938ed9e2e92f (diff) |
Use git log instead of git-log as the latter doesn't exist anymore in newer git versions
Diffstat (limited to 'update-common')
-rwxr-xr-x | update-common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update-common b/update-common index 396d4cd..ba1f51e 100755 --- a/update-common +++ b/update-common @@ -33,10 +33,10 @@ do git submodule init git submodule update cd $dir/$module/common - ref_from=`git-log --pretty=format:%h -n 1 HEAD` + ref_from=`git log --pretty=format:%h -n 1 HEAD` git checkout master git pull origin - ref_to=`git-log --pretty=format:%h -n 1 HEAD` + ref_to=`git log --pretty=format:%h -n 1 HEAD` echo updating common from $ref_from to $ref_to if [ "$ref_from" != "$ref_to" ] ; then cd $dir/$module |