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

[PATCH v8 0/4] tag: configure default tag sort via .gitconfig

From
Jacob Keller <jacob.e.keller@intel.com>
Date
Jul 15, 2014, 21:29 UTC
Message-ID
<1405459754-4220-1-git-send-email-jacob.e.keller@intel.com>

This patch series is hopefully the final version of a series of patches which updates git-tag to allow the .gitconfig variable 'tag.sort' to be used as the default sort parameter. This version uses a new set/pop error routine setup which enables correctly modifying the error routine to handle the config vs the command line.

In addition, I split the patch such that all the changes to the original parse_opt_sort are shown, and the following patch which extracts this function is just a function extraction with no changes, making it easier to review the new changes. One other minor bug fix is included as well.

Jacob Keller (4):
  usage: make error functions a stack
  tag: fix --sort tests to use cat<<-\EOF format
  tag: update parsing to be more precise regarding errors
  tag: support configuring --sort via .gitconfig
 Documentation/config.txt  |  5 +++
 Documentation/git-tag.txt |  5 ++-
 builtin/tag.c             | 97 ++++++++++++++++++++++++++++++++++++-----------
 git-compat-util.h         |  1 +
 t/t7004-tag.sh            | 76 +++++++++++++++++++++++++++----------
 usage.c                   | 29 ++++++++++++--
 6 files changed, 167 insertions(+), 46 deletions(-)
-- 
2.0.1.475.g9b8d714
Next: Jacob Keller
Message 1 of 11 in “tag: configure default tag sort via .gitconfig”
  1. 0/4 tag: configure default tag sort via .gitconfigJacob Keller, Jul 15, 2014
  2. 1/4 usage: make error functions a stackJacob Keller, Jul 15, 2014
  3. Junio C HamanoJul 15, 2014
  4. Keller, Jacob EJul 15, 2014
  5. Keller, Jacob EJul 15, 2014
  6. Junio C HamanoJul 16, 2014
  7. Keller, Jacob EJul 16, 2014
  8. 2/4 tag: fix --sort tests to use cat<<-\EOF formatJacob Keller, Jul 15, 2014
  9. 3/4 tag: update parsing to be more precise regarding errorsJacob Keller, Jul 15, 2014
  10. 4/4 tag: support configuring --sort via .gitconfigJacob Keller, Jul 15, 2014
  11. Junio C HamanoJul 15, 2014

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.