Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149099589
D28338.id83079.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
569 B
Referenced Files
None
Subscribers
None
D28338.id83079.diff
View Options
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
--- a/sys/conf/newvers.sh
+++ b/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="n${git_cnt}-${git}"
fi
fi
git_b=$($git_cmd rev-parse --abbrev-ref HEAD)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 23, 7:09 AM (2 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30169743
Default Alt Text
D28338.id83079.diff (569 B)
Attached To
Mode
D28338: newvers: tweak uname to be more useful
Attached
Detach File
Event Timeline
Log In to Comment