From ac114ade0e4230bb626e42ac897770ea85afd712 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 12 Nov 2020 16:52:35 -0300 Subject: Add git bisect TIL, modifying the Bash TIL date to sort on the list --- .../_tils/2020-11-12-git-bisect-automation.po | 50 ++++++++++++++++++++++ .../_tils/2020-11-12-useful-bash-variables.po | 9 ++-- 2 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 locale/fr/LC_MESSAGES/_tils/2020-11-12-git-bisect-automation.po (limited to 'locale/fr/LC_MESSAGES') diff --git a/locale/fr/LC_MESSAGES/_tils/2020-11-12-git-bisect-automation.po b/locale/fr/LC_MESSAGES/_tils/2020-11-12-git-bisect-automation.po new file mode 100644 index 0000000..6aed806 --- /dev/null +++ b/locale/fr/LC_MESSAGES/_tils/2020-11-12-git-bisect-automation.po @@ -0,0 +1,50 @@ +# +msgid "" +msgstr "" + +msgid "title: Git bisect automation" +msgstr "" + +msgid "layout: post" +msgstr "" + +msgid "lang: en" +msgstr "" + +msgid "ref: git-bisect-automation" +msgstr "" + +msgid "" +"It is good to have an standardized way to run builds and tests on the " +"repository of a project, so that you can find when a bug was introduced by " +"using `git bisect run`." +msgstr "" + +msgid "" +"I've already been in the situation when a bug was introduced and I didn't " +"know how it even was occurring, and running Git bisect over hundreds of " +"commits to pinpoint the failing commit was very empowering:" +msgstr "" + +msgid "" +"$ GOOD_COMMIT_SHA=e1fd0a817d192c5a5df72dd7422e36558fa78e46\n" +"$ git bisect start HEAD $GOOD_COMMIT_SHA\n" +"$ git bisect run sn -c './build.sh && ./run-failing-case.sh'\n" +msgstr "" + +msgid "" +"Git will than do a binary search between the commits, and run the commands " +"you provide it with to find the failing commit." +msgstr "" + +msgid "" +"Instead of being afraid of doing a bisect, you should instead leverage it, " +"and make Git help you dig through the history of the repository to find the " +"bad code." +msgstr "" + +msgid "date: 2020-11-12 2" +msgstr "" + +#~ msgid "date: 2020-11-12" +#~ msgstr "" diff --git a/locale/fr/LC_MESSAGES/_tils/2020-11-12-useful-bash-variables.po b/locale/fr/LC_MESSAGES/_tils/2020-11-12-useful-bash-variables.po index c2b94f4..bcff15d 100644 --- a/locale/fr/LC_MESSAGES/_tils/2020-11-12-useful-bash-variables.po +++ b/locale/fr/LC_MESSAGES/_tils/2020-11-12-useful-bash-variables.po @@ -5,9 +5,6 @@ msgstr "" msgid "title: Useful Bash variables" msgstr "" -msgid "date: 2020-11-12" -msgstr "" - msgid "layout: post" msgstr "" @@ -86,3 +83,9 @@ msgid "" "read, I find those useful shortcut that are handy when writing at the " "interactive terminal." msgstr "" + +msgid "date: 2020-11-12 1" +msgstr "" + +#~ msgid "date: 2020-11-12" +#~ msgstr "" -- cgit v1.2.3