mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #2475] [MERGED] Changed the display format of the Git commit hash in the version display #2560
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2560
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2475
Author: @ggtakec
Created: 6/23/2024
Status: ✅ Merged
Merged: 6/23/2024
Merged by: @gaul
Base:
master← Head:change_ver_commit📝 Commits (1)
814d4bdChanged the display format of the Git commit hash in the version display📊 Changes
4 files changed (+25 additions, -10 deletions)
View changed files
📝
autogen.sh(+8 -4)📝
configure.ac(+14 -3)📝
src/s3fs.cpp(+1 -1)📝
src/s3fs_help.cpp(+2 -2)📄 Description
Relevant Issue (if applicable)
#2457
Details
Currently, the s3fs version display includes the git commit hash(short sha1).
However, in the s3fs distributed from the package repository, the commit hash value is
unknown.Because this
unknowncan be misleading, the version notation will be changed to the following depending on the environment in which s3fs was built.If there is no git command or if the .git directory does not exist
The commit hash will not be displayed.
If the git commit hash can be obtained
If the git commit hash cannot be obtained, but there is a
default_commit_hashfileThis case applies when extracting a distribution archive of source code created by
make dist.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.