Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122983
b: refs/heads/master
c: ff80aa9
h: refs/heads/master
i:
  122981: 8bde5bf
  122979: a34e189
  122975: 37473c2
v: v3
  • Loading branch information
Peter Korsgaard authored and Sam Ravnborg committed Dec 3, 2008
1 parent 36f73a2 commit fa7a9c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 167d6a02c1dbdd84d49e87df7718f18fa31cb971
refs/heads/master: ff80aa97c9b4aae9449a608fe1bc3e7b5121cd66
5 changes: 5 additions & 0 deletions trunk/scripts/setlocalversion
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ if head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
fi
fi

# Is this git on svn?
if git config --get svn-remote.svn.url >/dev/null; then
printf -- '-svn%s' "`git-svn find-rev $head`"
fi

# Are there uncommitted changes?
git update-index --refresh --unmerged > /dev/null
if git diff-index --name-only HEAD | grep -v "^scripts/package" \
Expand Down

0 comments on commit fa7a9c9

Please sign in to comment.