From 54b8d6ce7d26ea206ece0bce1bc793deb5c49c6c Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Thu, 22 Dec 2016 00:01:23 +0100 Subject: [PATCH] =?UTF-8?q?commande=20pour=20avoir=20les=20statistiques=20?= =?UTF-8?q?d'affectation=20des=20lignes=20de=20texte=20d'un=20d=C3=A9p?= =?UTF-8?q?=C3=B4t=20git?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/environment.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/environment.nix b/public/environment.nix index 8959cd6..85df43d 100644 --- a/public/environment.nix +++ b/public/environment.nix @@ -67,6 +67,8 @@ in tree1 = "tree -d -L 1"; tree2 = "tree -d -L 2"; tree3 = "tree -d -L 3"; + # https://gist.github.com/amitchhajer/4461043 : Count number of code lines in git repository per user + #git-loc = "git ls-files | while read f; do git blame --line-porcelain "${f}" | grep '^author '; done | sort -f | uniq -ic | sort -n"; grep = "grep --color=auto"; vi = "vim"; };