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

Re: Using clean/smudge scripts from repository

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 10, 2015, 15:22 UTC
Message-ID
<xmqq1thjoafp.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20150610015349.GA5417@robin.thebellsplace.net>
Bob Bell <b_git@thebellsplace.com> writes:
> Is this a proper solution, or did I just "luck out"?  Am I perhaps
> doing something foolish?

Yes, we happen to run checkout in the index order, but that is not something we guarantee, so you can call yourself lucky. You are being doubly lucky that nobody in your project is committing a malicious script in the repository. It may also count as foolish, depending on how important the security is for you and how trustworthy your collaborators are.

Previous: Bob BellNext: Bob Bell
Message 2 of 3 in “Using clean/smudge scripts from repository”
  1. Bob BellJun 10, 2015
  2. Junio C HamanoJun 10, 2015
  3. Bob BellJun 10, 2015

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.