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

Re: [PATCH] git-archive documentation: .gitattributes must be committed

From
FMFrancois Marier <fmarier@gmail.com>
Date
Feb 11, 2010, 03:48 UTC
Message-ID
<20100211034802.GS9853@isafjordur.dyndns.org>
In-Reply-To
<7veiks7rux.fsf@alter.siamese.dyndns.org>
On 2010-02-10 at 12:33:58, Junio C Hamano wrote:
Show 7 quoted lines
> +Note that attributes are by default taken from the `.gitattributes` files
> +in the tree that is being archived.  If you want to tweak the way the
> +output is generated after the fact (e.g. you committed without adding an
> +appropriate export-ignore in its `.gitattributes`), adjust the checked out
> +`.gitattributes` file as necessary and use `--work-tree-attributes`
> +option.  Alternatively you can keep necessary attributes that should apply
> +while archiving any tree in your `$GIT_DIR/info/attributes` file.
Looks good to me.
-- 
Francois Marier                         identi.ca/fmarier
http://feeding.cloud.geek.nz          twitter.com/fmarier
Previous: Junio C Hamano
Message 8 of 8 in “git-archive documentation: .gitattributes must be committed”
  1. git-archive documentation: .gitattributes must be committedFrancois Marier, Feb 10, 2010
  2. René ScharfeFeb 10, 2010
  3. Junio C HamanoFeb 10, 2010
  4. Junio C HamanoFeb 10, 2010
  5. René ScharfeFeb 10, 2010
  6. Junio C HamanoFeb 10, 2010
  7. Junio C HamanoFeb 10, 2010
  8. Francois MarierFeb 11, 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.