git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/2] Add cmd_gud and detect libiconv path for Mac OS

From
CCColin Curtis <colinpcurtis@gmail.com>
Date
Sep 8, 2021, 05:13 UTC
Message-ID
<20210908051340.13332-1-colinpcurtis826@ucla.edu>
From: Colin Curtis <colinpcurtis@gmail.com>

The gud command opens the Pro Git book webpage in the default web browser. The reason to add this command is due to the play on words when saying 'git gud', which sounds like 'get good'. Hence this command when invoked will open up the Pro Git webpage to allow the user to 'get good' at git.

We also fix a bug in the Makefile when running on Mac OS, namely the libiconv path when using a brew install for the library. Previously the developer would have to manually change the path to the library when developing on Mac OS.

Colin Curtis (2):
  add cmd_gud to open git-scm.com webpage
  add liconv link for makefile
 .gitignore                |  1 +
 Documentation/git-gud.txt | 33 +++++++++++++++++++++++++++++++++
 Makefile                  |  9 +++++++--
 builtin.h                 |  1 +
 builtin/gud.c             | 27 +++++++++++++++++++++++++++
 git.c                     |  1 +
 t/t9904-git-gud.sh        | 16 ++++++++++++++++
 7 files changed, 86 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/git-gud.txt
 create mode 100644 builtin/gud.c
 create mode 100755 t/t9904-git-gud.sh
-- 
2.30.1 (Apple Git-130)
Next: Colin Curtis
Message 1 of 6 in “Add cmd_gud and detect libiconv path for Mac OS”
  1. 0/2 Add cmd_gud and detect libiconv path for Mac OSColin Curtis, Sep 8, 2021
  2. 1/2 add cmd_gud to open git-scm.com webpageColin Curtis, Sep 8, 2021
  3. 2/2 add liconv link for makefileColin Curtis, Sep 8, 2021
  4. Carlo ArenasSep 8, 2021
  5. Bagas SanjayaSep 8, 2021
  6. Ævar Arnfjörð BjarmasonSep 8, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.