public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] First Patch
@ 2008-09-06 10:25 Georg Schardt
  2008-09-06 10:25 ` [U-Boot] [PATCH 1/3] Add support for the virtex4fx12 minimodul Georg Schardt
  0 siblings, 1 reply; 16+ messages in thread
From: Georg Schardt @ 2008-09-06 10:25 UTC (permalink / raw)
  To: u-boot

Hi,

the following patch is my first, so please say what i can do better the next time.
the patch adds board support for the virtex4fx12 minimodul by avnet.
Sorry for the three files, i don't know how to merge the files to on.

regards
georg

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [U-Boot] [PATCH 2/3] fix checkpatch errors
@ 2008-09-09 15:02 Hugo Villeneuve
  0 siblings, 0 replies; 16+ messages in thread
From: Hugo Villeneuve @ 2008-09-09 15:02 UTC (permalink / raw)
  To: u-boot

git diff ${GITDIFF_OPTS} ${commit} >> ${patch}.patchu-boot-bounces at lists.denx.de wrote:
> Dear Georg Schardt,
> 
> In message <48C3B358.6010500@team-ctech.de> you wrote:
>> 
>> - create my own testing branch: "git branch testing"
>> - switch to this branch: "git checkout testing"
>> - copy/modify files
>> - add the new files with "git add board/xilinx/fx12mm/"
>> - commit the changes with "git commit -a"
>> - create a patch with "git format-patch origin"
>> - check this patch with checkpatch.pl
>> - fix the errors, commit again, create patch again get 2 patchfiles

I?m not an expert with GIT, but I would suggest the following change to avoid unnecessary commits:

1.  Create my own testing branch: "git branch testing"
2.  Switch to this branch: "git checkout testing"
3.    Copy/modify files
4.    Create temporary patch from local changes: "git diff > temporary.patch"
5.    Check this patch with checkpatch.pl
6.  If errors found: go back to step 3, else go to step 7
7.  Add the new/modified files with "git add board/xilinx/fx12mm/"
8.  Commit the changes with "git commit -a"
9.  Create a patch with "git format-patch origin"
10. Check this patch with checkpatch.pl

Hugo V.

Hugo Villeneuve
Hardware developer | Concepteur mat?riel
Lyrtech
Phone/T?l. : (1) (418) 877-4644 #2395
Toll-free/Sans frais - Canada & USA : (1) (888) 922-4644 #2395
Fax/T?l?c. : (1) (418) 877-7710
www.lyrtech.com
Infinite possibilities...TM

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2008-09-09 15:02 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-06 10:25 [U-Boot] First Patch Georg Schardt
2008-09-06 10:25 ` [U-Boot] [PATCH 1/3] Add support for the virtex4fx12 minimodul Georg Schardt
2008-09-06 10:25   ` [U-Boot] [PATCH 2/3] fix checkpatch errors Georg Schardt
2008-09-06 10:25     ` [U-Boot] [PATCH 3/3] fix some other patch errors Georg Schardt
2008-09-06 13:22     ` [U-Boot] [PATCH 2/3] fix checkpatch errors Wolfgang Denk
2008-09-06 14:02       ` Georg Schardt
2008-09-06 15:45         ` Wolfgang Denk
2008-09-07 10:56           ` Georg Schardt
2008-09-07 11:15             ` Wolfgang Denk
2008-09-07 11:48               ` Georg Schardt
2008-09-08 12:15     ` JerryVanBaren
2008-09-08 12:38       ` Wolfgang Denk
2008-09-08 13:01       ` Haavard Skinnemoen
2008-09-06 13:34   ` [U-Boot] [PATCH 1/3] Add support for the virtex4fx12 minimodul Wolfgang Denk
2008-09-07 21:50     ` Ricardo
  -- strict thread matches above, loose matches on Subject: below --
2008-09-09 15:02 [U-Boot] [PATCH 2/3] fix checkpatch errors Hugo Villeneuve

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox