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

Re: [PATCH v2] git-archive: Add new option "--output" to write archive to a file instead of stdout.

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Feb 16, 2009, 17:59 UTC
Message-ID
<bd6139dc0902160959h689470e3mf55407bc24c96816@mail.gmail.com>
In-Reply-To
<599636D7828020419E3AB2DE5CCC8130036BF8B1D5@NOK-EUMSG-02.mgdnok.nokia.com>
Heya,
On Mon, Feb 16, 2009 at 18:37,  <carlos.duclos@nokia.com> wrote:
Show 17 quoted lines
> When archiving a repository there is no way to specify a file as output.
> This patch adds a new option "--output" that redirects the output to a file
> instead of stdout.
>
> Signed-off by: Carlos Manuel Duclos Vergara <carlos.duclos@nokia.com>
> ---
>
>    NOTE: I can only use a webmail client, so some of the tabs might
>    have overwritten by it. If  that's the case I'll resend the patch as
>    MIME attachment.
>
>  Documentation/git-archive.txt |    3 +
>  archive-zip.c                 |    1 -
>  archive.c                     |   17 +++++
>  t/t0024-crlf-archive.sh       |   19 +++++
>  t/t5000-tar-tree.sh           |  148 +++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 187 insertions(+), 1 deletions(-)

Fixed that for ya :). Anything that should not go in the commit message should go after the triple dashes. Also, please wrap your lines at 80 characters. If your web-client does not support this, please do so manually. For your convenience, here is a line of 79 characters: -------------------------------------------------------------------------------

-- 
Cheers,

Sverre Rabbelier
Previous: carlos.duclos@nokia.comNext: René Scharfe
Message 2 of 4 in “git-archive: Add new option "--output" to write archive to a file instead of stdout.”
  1. git-archive: Add new option "--output" to write archive to a file instead of stdout.carlos.duclos@nokia.com, Feb 16, 2009
  2. Sverre RabbelierFeb 16, 2009
  3. René ScharfeFeb 16, 2009
  4. Junio C HamanoFeb 16, 2009

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.