summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
75e9293)
- chore(prvt):Update private submodule
-Subproject commit fd2acc6f5569ae527fed7c60f32fe6c0653c82bb
+Subproject commit 2847991d9942f664a6a840575be8ad5d26ecc1f2
# Usage: git-bk-find-file [string grep pattern]
# Example git-bk-find-file '.txt$'
# Ref/Attrib: albfan "How can I search Git branches for a file or directory?" https://stackoverflow.com/a/16868704/10850071
# Usage: git-bk-find-file [string grep pattern]
# Example git-bk-find-file '.txt$'
# Ref/Attrib: albfan "How can I search Git branches for a file or directory?" https://stackoverflow.com/a/16868704/10850071
# Depends: GNU bash v5.1.16, GNU parallel 20210822
yell() { echo "$0: $*" >&2; } # print script path and all args to stderr
# Depends: GNU bash v5.1.16, GNU parallel 20210822
yell() { echo "$0: $*" >&2; } # print script path and all args to stderr
# Get commit timestamp
time="$(git -c log.showSignature=false show -s --format=%cI "$commit")";
# Get commit timestamp
time="$(git -c log.showSignature=false show -s --format=%cI "$commit")";
- # Get last 8 chars of commit
- short_commit="${commit:(-8)}";
+ # Get first 8 chars of commit
+ short_commit="${commit:0:8}";
# Output results
while read -r line; do
# Output results
while read -r line; do