We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1acdbf commit e600e47Copy full SHA for e600e47
tools/version.sh
@@ -42,6 +42,10 @@ osx_bundle_sed_path="${builddir}/osx-bundle.sed"
42
last_svn_revision=6962
43
last_svn_hash="16cd907fe7482cb54a7374cd28b8501f138116be"
44
45
+git() {
46
+ command git -C "$srcdir" "$@"
47
+}
48
+
49
# Check if the commit exists first, it doesn't exist in shallow clones.
50
if [ "$(git cat-file -t $last_svn_hash 2> /dev/null)" = "commit" ]; then
51
git_revision=$(expr $last_svn_revision + $(git rev-list --count $last_svn_hash..HEAD))
0 commit comments