Hm, there's only a few affected files (files that both have
svn:keywords set, and contain a $keyword$).
We'll need to remove or replace all of these anyhow, since the
expansion doesn't actually function with a git checkout.
clang/lib/Basic/Version.cpp: StringRef SVNRepository("$URL$");
clang/www/cxx_dr_status.html:<p>Last updated: $Date$</p>
clang/www/cxx_status.html:<p>Last updated: $Date$</p>
llvm/utils/vim/syntax/llvm.vim:" Version: $Revision$
llvm/utils/vim/syntax/tablegen.vim:" Version: $Revision$
You could add a .gitattributes with content like
and then git would expand $Id$ to $Id: sha1$ and back, just like SVN.
I don't think there's an easy way to make this work for anything else,
like $URL$ or $Date$ though.