-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Patrick Kelsey edited this page Mar 6, 2014
·
1 revision
Quick-and-dirty way to generate a set of crochet patches while on a branch that was created from a a given u-boot version release tag (change the setting of ‘version’ appropriately):
(version='2013.04'; for f in `git diff --name-only v${version}..HEAD`; do of="uboot-${version}_`echo $f | tr '/' '_'`.patch"; git diff v${version}..HEAD $f > $of; done)
And while on a branch that was created from master, with upstream set to git://git.denx.de/u-boot.git,
(for f in `git diff --name-only upstream/master..HEAD`; do of="uboot-master_`echo $f | tr '/' '_'`.patch"; git diff upstream/master..HEAD $f > $of; done)