git $Id$ smudge filter
- From
- shawn 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.