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

git $Id$ smudge filter

From
SWshawn wilson <ag4ve.us@gmail.com>
Date
Mar 11, 2014, 21:21 UTC
Message-ID
<CAH_OBievh+7qe_warJD0_+O6V2=ES9Jjke1tAu4rL5BOKRHdTQ@mail.gmail.com>
Currently, I've got a perl script that modifies the Id line in a smudge filter:
[filter "ident-line"]
  smudge = /usr/local/bin/githook_ident-filter.pl %f

The problem I've noticed with smudge filters is that it leaves the repo dirty. How do I fix this? I am basically trying to replicate the behavior of CVS or SVN $Id$ line here.

Next: Junio C Hamano
Message 1 of 2 in “git $Id$ smudge filter”
  1. shawn wilsonMar 11, 2014
  2. Junio C HamanoMar 11, 2014

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.