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

Re: [PATCHv5 0/8] Add commit message options for rebase --autosquash

From
Pat Notz <patnotz@gmail.com>
Date
Oct 11, 2010, 21:06 UTC
Message-ID
<AANLkTikZJWpm054Aw51Yt2CruEtx1XfX38vsVD8wVcOX@mail.gmail.com>
In-Reply-To
<1286478657-61581-1-git-send-email-patnotz@gmail.com>
Hiya -

I didn't receive any feedback from this patch series so I thought I'd just ping the list to see if this is of interest at all (I fully accept that it might not be). Or perhaps no news is good news. Anyway, sorry for the spam.

~ pat
On Thu, Oct 7, 2010 at 1:10 PM, Pat Notz <patnotz@gmail.com> wrote:
Show 58 quoted lines
> This patch series adds new command line options to git-commit to make
> it easy to specify messages for commits correctly formatted for use
> wit 'rebase -i --autosquash'.
>
> The first three patches introduce minor refactorings that set the stage
> for subsequent patches.
>
> The fourth patch teaches format_commit_message to reencode the content
> if the caller's commit object uses an encoding different from the
> commit encoding.
>
> The remaining patches add the --fixup and --squash commands to
> git-commit including tests of commit, interactions with rebase and
> i18n encodings.
>
> One issue which limits the testing (but not the implementation, I
> think) is that when 'rebase --autosquash' is comparing commit subject
> lines it does not first make sure that the commits use a common
> encoding.  That's follow-on work.
>
> Pat Notz (8):
>  commit.c: prefer get_header() to manual searching
>  commit.c: new function for looking up a comit by name
>  pretty.c: helper methods for getting output encodings
>  pretty.c: teach format_commit_message() to reencode the output
>  commit: --fixup option for use with rebase --autosquash
>  add tests of commit --fixup
>  commit: --squash option for use with rebase --autosquash
>  add tests of commit --squash
>
>  Documentation/git-commit.txt |   21 +++++++++--
>  archive.c                    |    2 +-
>  builtin/commit.c             |   76 +++++++++++++++++++++++++++------------
>  builtin/fmt-merge-msg.c      |    2 +-
>  cache.h                      |    3 ++
>  commit.c                     |   13 +++++++
>  commit.h                     |    5 ++-
>  environment.c                |   11 ++++++
>  log-tree.c                   |    2 +-
>  notes-cache.c                |    2 +-
>  pretty.c                     |   47 +++++++++++++++++++-----
>  submodule.c                  |    4 +-
>  t/t3415-rebase-autosquash.sh |   29 ++++++++++++++-
>  t/t3900-i18n-commit.sh       |   28 +++++++++++++++
>  t/t7500-commit.sh            |   80 ++++++++++++++++++++++++++++++++++++++++++
>  t/t7500/edit-content         |    4 ++
>  16 files changed, 283 insertions(+), 46 deletions(-)
>  create mode 100755 t/t7500/edit-content
>
> --
> 1.7.3.1
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
Previous: Pat NotzNext: Sverre Rabbelier
Message 16 of 17 in “[PATCHv5 0/8] Add commit message options for rebase --autosquash”
  1. Pat NotzOct 7, 2010
  2. 1/8 commit.c: prefer get_header() to manual searchingPat Notz, Oct 7, 2010
  3. Sverre RabbelierOct 7, 2010
  4. Sverre RabbelierOct 7, 2010
  5. Junio C HamanoOct 13, 2010
  6. 2/8 commit.c: new function for looking up a comit by namePat Notz, Oct 7, 2010
  7. Junio C HamanoOct 13, 2010
  8. 3/8 pretty.c: helper methods for getting output encodingsPat Notz, Oct 7, 2010
  9. 4/8 pretty.c: teach format_commit_message() to reencode the outputPat Notz, Oct 7, 2010
  10. Junio C HamanoOct 13, 2010
  11. Pat NotzOct 13, 2010
  12. 5/8 commit: --fixup option for use with rebase --autosquashPat Notz, Oct 7, 2010
  13. 6/8 add tests of commit --fixupPat Notz, Oct 7, 2010
  14. 7/8 commit: --squash option for use with rebase --autosquashPat Notz, Oct 7, 2010
  15. 8/8 add tests of commit --squashPat Notz, Oct 7, 2010
  16. Pat NotzOct 11, 2010
  17. Sverre RabbelierOct 12, 2010

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.