git and linux kernel source

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Thursday, August 9, 2007 - 7:11 pm

A few linux kernel source and git questions:

What's the best procedure to handle a tree-wide source tranformation?
For instance:

  git branch foo2bar
  egrep -r -w --include=*.[ch] -l "foo" * | \
	xargs perl -pi -e 's/\bfoo\b/bar/msg'
  git commit -a -m "use bar not foo"

Is there a way to separate the resultant single patch into multiple
patches by subdirectory?  Perhaps some git-rev-parse option?

  git-format-patch -p --stat -o outputdir

Is there a way to automatically include the appropriate MAINTAINER and
mailing lists from the MAINTAINERS file for each subdirectory?

  git-send-mail --to $APPROPRIATE_MAINTAINER \
	-cc linux-kernel@vger.kernel.org

Any ideas or help?


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git and linux kernel source, Joe Perches, (Thu Aug 9, 7:11 pm)
Re: git and linux kernel source, J. Bruce Fields, (Thu Aug 9, 7:17 pm)
Re: git and linux kernel source, J. Bruce Fields, (Mon Aug 13, 11:27 am)
Re: git and linux kernel source, Rogan Dawes, (Mon Aug 13, 11:32 am)
Re: git and linux kernel source, J. Bruce Fields, (Mon Aug 13, 11:38 am)
Re: git and linux kernel source, Joe Perches, (Thu Aug 9, 9:59 pm)