Skip to content

Commit

Permalink
[IMPR] use rev-list --count instead of wc pipe command
Browse files Browse the repository at this point in the history
  • Loading branch information
xqt committed May 2, 2024
1 parent 278d921 commit 3eca41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nightly
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pip install -U pip setuptools
# Create version file
function create_version {
echo "$1" > $2
git rev-list HEAD | wc -l >> $2
git rev-list HEAD --count >> $2
date +%Y-%m-%dT%H:%M:%S >> $2
git rev-parse --short HEAD >> $2
}
Expand Down

0 comments on commit 3eca41e

Please sign in to comment.