X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fsetlocalversion;h=d105a44b68f664a55559e38217dcf27ccf025b70;hb=dfb9f94e8e5e7f73c8e2bcb7d4fb1de57e7c333d;hp=84b88f109b80fcc2d7e25e594431bf3a6374962c;hpb=7f585bbfc54fec9dcf387fd2edb2d6f4908badf8;p=~andy%2Flinux diff --git a/scripts/setlocalversion b/scripts/setlocalversion index 84b88f109b8..d105a44b68f 100755 --- a/scripts/setlocalversion +++ b/scripts/setlocalversion @@ -71,9 +71,6 @@ scm_version() printf -- '-svn%s' "`git svn find-rev $head`" fi - # Update index only on r/w media - [ -w . ] && git update-index --refresh --unmerged > /dev/null - # Check for uncommitted changes if git diff-index --name-only HEAD | grep -qv "^scripts/package"; then printf '%s' -dirty