git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* filter / gitattributes
@ 2014-06-24 19:02 shawn wilson
  0 siblings, 0 replies; only message in thread
From: shawn wilson @ 2014-06-24 19:02 UTC (permalink / raw)
  To: Git List

So, I've got a gitconfig template for new people (also what link to as
my ~/.gitconfig) so I have a smudge/clean:

[filter "gitconfig-rmuser"]
  clean = sed -e \"s/^\\( *email =\\).*/\\1 <email address>/\" -e
\"s/^\\( *name =\\).*/\\1 <real name>/\" -e \"s/^\\( *signingkey
=\\).*/\\1 <gpg key>/\"
  smudge = egrep \"^ *(email|name|signingkey) = \"

and .gitattributes:
* filter=ident-line
gitconfig filter=gitconfig-rmuser

However, it didn't filter/change my name/email/signingkey. Any ideas?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-24 19:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-24 19:02 filter / gitattributes shawn wilson

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 NNTP newsgroup(s).