]> git.nbdom.net Git - nb.git/commitdiff
etc/profile.d/git.sh
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 23 Jul 2026 08:43:53 +0000 (10:43 +0200)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 23 Jul 2026 08:43:53 +0000 (10:43 +0200)
etc/profile.d/git.sh

index 3115428c9ca92ad3dcb8cbc881768c0928f1f493..4e7bc46d8edd59390716d8ac1da7b7ef97fceebb 100644 (file)
@@ -36,8 +36,7 @@ EOF
                return 1
        fi
 
-       # NB 04.03.25 declare owner=$(ls -dl "$file" | awk '{print $3}')
-       # NB 04.03.25: We get the owner from the dir not the file. Because the file could be own by anotrher user for specific use. Ex: acl.pl owner is proxy but the git repo is root  
+       # NB 04.03.25: We get the owner from the dir not the file. Because the file could be own by another user for specific use. Ex: acl.pl owner is proxy but the git repo is root  
        declare owner="$(ls -dl "$(dirname "$file")" | awk '{print $3}')"
        [ -z "$owner" ] && echo "Can't find owner for file '$file'" 1>&2 && return 1