memory-leaks

Still reachable: lots of words in many pages.
git clone https://git.kevinlegouguec.net/memory-leaks
Log | Files | Refs | README | LICENSE

commit 1637369b5a96f09e909dd6a966a5e6fc8a0ea692
parent c278804b8c31f1d667415b9573a1aaa0d3c3d89f
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Wed,  4 Sep 2019 19:09:37 +0200

Remove word-count hook

Makes  it  impossible  to   rebase  anything[^1].   Someday  I'll  run
update-count.sh  as a  pre-processing step  for this  website; in  the
meantime, just get rid of it.

[^1]: Well,  not *impossible*,  just annoying.  For every  commit, the
      rebase must be paused and the conflict resolved with:
          $ git checkout --theirs -- README.md
          $ ./update-count.sh
          $ git add README.md
          $ git rebase --continue

Diffstat:
MREADME.md | 2+-
Dhooks/post-commit | 19-------------------
2 files changed, 1 insertion(+), 20 deletions(-)

diff --git a/README.md b/README.md @@ -1,5 +1,5 @@ # Peniblec's Memory Leaks -## still reachable: 10651 words in 23 pages +## still reachable: lots of words in many pages Hi! I am a software engineer interested in [a bunch of things]. diff --git a/hooks/post-commit b/hooks/post-commit @@ -1,19 +0,0 @@ -#!/bin/bash - -if [ -f .UPDATING_COUNT ] -then - exit 0 -fi - -echo "Checking word count…" - -./update-count.sh - -if git diff --quiet --exit-code -- README.md -then - exit 0 -fi - -touch .UPDATING_COUNT -git commit --amend --no-edit -- README.md -rm .UPDATING_COUNT