Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 84d7fa5e67
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (11 sloc) 0.215 kB
#!/bin/bash
if [ $# -ne 1 ]
then
echo "Usage: update-last.sh src-directory"
exit 1
fi
srcdir=$1
cd $srcdir
commit=`git log -1 | awk '/^commit/ {print $2;}'`
echo $commit > ../last-seen-revision
exit 0
Jump to Line
Something went wrong with that request. Please try again.