Skip to content

Instantly share code, notes, and snippets.

@kowey
Created December 7, 2010 18:04
Show Gist options
  • Select an option

  • Save kowey/732156 to your computer and use it in GitHub Desktop.

Select an option

Save kowey/732156 to your computer and use it in GitHub Desktop.
Not secure...
#!/bin/bash
HASH=`darcs changes | md5sum | sed -e 's/\(....\).*/\1/'`
AUTHOR=`darcs changes --last=1 | head -n 1 | cut -d ' ' -f 8-`
COUNT=`darcs changes --count`
echo $COUNT $HASH $AUTHOR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment