Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77960
b: refs/heads/master
c: b052ce4
h: refs/heads/master
v: v3
  • Loading branch information
Theodore Ts'o authored and Sam Ravnborg committed Jan 28, 2008
1 parent 37287de commit 48a3882
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 4e7434ff028c4280bed620f28fdbf9f4d77d77ce
refs/heads/master: b052ce4c840e2da3c72ab7dadb97d1094f6e3a89
3 changes: 2 additions & 1 deletion trunk/scripts/setlocalversion
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ if head=`git rev-parse --verify HEAD 2>/dev/null`; then

# Are there uncommitted changes?
git update-index --refresh --unmerged > /dev/null
if git diff-index HEAD | read dummy; then
if git diff-index --name-only HEAD | grep -v "^scripts/package" \
| read dummy; then
printf '%s' -dirty
fi

Expand Down

0 comments on commit 48a3882

Please sign in to comment.