File: git-commit-version.sh

package info (click to toggle)
motion 3.2.12%2Bgit20140228-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,240 kB
  • ctags: 2,370
  • sloc: ansic: 25,224; makefile: 687; sh: 278
file content (5 lines) | stat: -rwxr-xr-x 77 bytes parent folder | download
1
2
3
4
5
#!/bin/sh

SNV_VERSION=`git show -s --format=%H`
echo -n "Git-$SNV_VERSION"