git $Id$ smudge filter

2014-03-11 Thread shawn wilson
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.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: git $Id$ smudge filter

2014-03-11 Thread Junio C Hamano
shawn wilson ag4ve...@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?
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html