commit 55b2515d7867f88ddde5d0170a91bfab5bde0626 parent 54cc52814bf03761d115b5668cedfe55ea64525c Author: Alex Balgavy <alexander.balgavy@spaceapplications.com> Date: Fri, 1 Aug 2025 15:33:29 +0200 git-ls script to get info about who last changed a file Diffstat:
A | scripts/git-ls | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/scripts/git-ls b/scripts/git-ls @@ -0,0 +1,5 @@ +#!/bin/sh +for file in $(git ls-files "${1:-.}"); do + data="$(git log -1 --pretty=format:'%an,%h,%ar (%aI)' -- "$file")" + printf "$file,$data\n" +done | column --table --separator ','