Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F98614670
D20462.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
429 B
Referenced Files
None
Subscribers
None
D20462.diff
View Options
Index: head/sys/conf/newvers.sh
===================================================================
--- head/sys/conf/newvers.sh
+++ head/sys/conf/newvers.sh
@@ -291,6 +291,10 @@
git=" ${git}"
fi
fi
+ git_cnt=$($git_cmd rev-list --count HEAD 2>/dev/null)
+ if [ -n "$git_cnt" ] ; then
+ git="${git}-c${git_cnt}"
+ fi
git_b=$($git_cmd rev-parse --abbrev-ref HEAD)
if [ -n "$git_b" ] ; then
git="${git}(${git_b})"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 5, 1:49 AM (4 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13600917
Default Alt Text
D20462.diff (429 B)
Attached To
Mode
D20462: newvers: append commit count to uname version string
Attached
Detach File
Event Timeline
Log In to Comment