Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149543
b: refs/heads/master
c: a2bb90a
h: refs/heads/master
i:
  149541: 5a705f4
  149539: 667547a
  149535: a56a6f9
v: v3
  • Loading branch information
Nico Schottelius authored and Sam Ravnborg committed Jun 14, 2009
1 parent 8a53c36 commit 98f8ac3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2d8993026a26f4ece8c8b3f2e138d2ba8f18eaa
refs/heads/master: a2bb90a08cb3b64dd815d762ffde2312582a6ec9
6 changes: 4 additions & 2 deletions trunk/scripts/setlocalversion
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ if head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
printf -- '-svn%s' "`git svn find-rev $head`"
fi

# Are there uncommitted changes?
git update-index --refresh --unmerged > /dev/null
# Update index only on r/w media
[ -w . ] && git update-index --refresh --unmerged > /dev/null

# Check for uncommitted changes
if git diff-index --name-only HEAD | grep -v "^scripts/package" \
| read dummy; then
printf '%s' -dirty
Expand Down

0 comments on commit 98f8ac3

Please sign in to comment.