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

[PATCH] git svn : hook before 'git svn dcommit'

From
FHFrédéric Heitzmann <frederic.heitzmann@gmail.com>
Date
Jul 3, 2011, 20:49 UTC
Message-ID
<1309726156-31156-1-git-send-email-frederic.heitzmann@gmail.com>
In-Reply-To
<vpqfwmos5sg.fsf@bauges.imag.fr>

The 'pre-svn-dcommit' hook is called by 'git svn dcommit' and can be used to prevent some diff to be committed to a SVN repository. It may typically be used to filter some intermediate patches, which were committed into git but must not find their way to the SVN repository.

It takes a single parameter, the reference given to 'git svn dcommit'. If the hook exists with a non zero-status, 'git svn dcommit' will abort.

Documentation/git-svn.txt | 14 +++++++++++++- git-svn.perl | 21 +++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletions(-)

Previous: Matthieu MoyNext: Frédéric Heitzmann
Message 5 of 11 in “git svn : hook before 'git svn dcommit'”
  1. git svn : hook before 'git svn dcommit'Frédéric Heitzmann, Jul 2, 2011
  2. Matthieu MoyJul 2, 2011
  3. Frédéric HeitzmannJul 2, 2011
  4. Matthieu MoyJul 2, 2011
  5. git svn : hook before 'git svn dcommit'Frédéric Heitzmann, Jul 3, 2011
  6. 1/2 git svn : hook before 'git svn dcommit'Frédéric Heitzmann, Jul 3, 2011
  7. 2/2 git svn : documentation of 'pre-svn-dcommit'Frédéric Heitzmann, Jul 3, 2011
  8. Matthieu MoyJul 3, 2011
  9. Frédéric HeitzmannJul 4, 2011
  10. git svn : hook before 'git svn dcommit'Frédéric Heitzmann, Jul 5, 2011
  11. git svn : hook before 'git svn dcommit'Frédéric Heitzmann, Jul 9, 2011

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.