Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77958
b: refs/heads/master
c: d882421
h: refs/heads/master
v: v3
  • Loading branch information
Theodore Ts'o authored and Sam Ravnborg committed Jan 28, 2008
1 parent 17b7290 commit 32a6514
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 22d6a6a018d897c9c77c6af164722926e70108fa
refs/heads/master: d882421f4e08ddf0a94245cdbe516db260aa6f41
2 changes: 1 addition & 1 deletion trunk/scripts/setlocalversion
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cd "${1:-.}" || usage
if head=`git rev-parse --verify HEAD 2>/dev/null`; then
# Do we have an untagged version?
if git name-rev --tags HEAD | grep -E '^HEAD[[:space:]]+(.*~[0-9]*|undefined)$' > /dev/null; then
printf '%s%s' -g `echo "$head" | cut -c1-8`
git describe | awk -F- '{printf("-%05d-%s", $(NF-1),$(NF))}'
fi

# Are there uncommitted changes?
Expand Down

0 comments on commit 32a6514

Please sign in to comment.