* git $Id$ smudge filter
@ 2014-03-11 21:21 shawn wilson
2014-03-11 21:54 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: shawn wilson @ 2014-03-11 21:21 UTC (permalink / raw)
To: Git List
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git $Id$ smudge filter
2014-03-11 21:21 git $Id$ smudge filter shawn wilson
@ 2014-03-11 21:54 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2014-03-11 21:54 UTC (permalink / raw)
To: shawn wilson; +Cc: Git List
shawn wilson <ag4ve.us@gmail.com> writes:
> 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.
It somewhat smells fishy to have only smudge filter defined without
a corresponding clean filter, doesn't it?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-11 21:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-11 21:21 git $Id$ smudge filter shawn wilson
2014-03-11 21:54 ` Junio C Hamano
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).