Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147319076
D28338.1782898034.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
604 B
Referenced Files
None
Subscribers
None
D28338.1782898034.diff
View Options
Index: sys/conf/newvers.sh
===================================================================
--- sys/conf/newvers.sh
+++ sys/conf/newvers.sh
@@ -253,9 +253,9 @@
if [ -n "$git_cmd" ] ; then
git=$($git_cmd rev-parse --verify --short HEAD 2>/dev/null)
if [ "$($git_cmd rev-parse --is-shallow-repository)" = false ] ; then
- git_cnt=$($git_cmd rev-list --count HEAD 2>/dev/null)
+ git_cnt=$($git_cmd rev-list --first-parent --count HEAD 2>/dev/null)
if [ -n "$git_cnt" ] ; then
- git="c${git_cnt}-g${git}"
+ git="v${git_cnt}-${git}"
fi
fi
git_b=$($git_cmd rev-parse --abbrev-ref HEAD)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 1, 9:27 AM (6 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28997142
Default Alt Text
D28338.1782898034.diff (604 B)
Attached To
Mode
D28338: newvers: tweak uname to be more useful
Attached
Detach File
Event Timeline
Log In to Comment