From d36c2e459a74ec67e523539eb98b78b95b01432a Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 16 Apr 2025 11:20:43 -0300 Subject: src/content/: Normalize [source,$lang] code blocks --- src/content/tils/2020/10/11/search-git-history.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/content/tils/2020/10/11/search-git-history.adoc') diff --git a/src/content/tils/2020/10/11/search-git-history.adoc b/src/content/tils/2020/10/11/search-git-history.adoc index 06df9dc..696368c 100644 --- a/src/content/tils/2020/10/11/search-git-history.adoc +++ b/src/content/tils/2020/10/11/search-git-history.adoc @@ -15,7 +15,7 @@ name, only bits of it. I immediately went to the list of TILs I had written on searching in Git, but it wasn't readily obvious how to do it, so here it goes: -[source,shell] +[source,sh] ---- git log -- *pattern* ---- @@ -23,7 +23,7 @@ git log -- *pattern* You could add globs before the pattern to match things on any directory, and add our `-p` friend to promptly see the diffs: -[source,shell] +[source,sh] ---- git log -p -- **/*pattern* ---- -- cgit v1.2.3