1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-02 07:07:46 +00:00

Update git_branch_age.nu

This commit is contained in:
Kat Marchán 2021-07-25 14:48:06 -07:00 committed by GitHub
parent 39a6b960c5
commit 8dd86215ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ def "git age" [] {
lines | lines |
str substring 2, | str substring 2, |
wrap name | wrap name |
insert date { insert last_commit {
get name | get name |
each { each {
git show $it --no-patch --format=%as | str to-datetime git show $it --no-patch --format=%as | str to-datetime