2812: Layout of Git format patch file is corrupted sometime

boot2*****@gmai***** (Google Code) (Is this you? Claim this profile.)
What version are you running?
1.6.13

What's the URL of the page containing the problem?
Download diff page

steps will reproduce the problem, but not always happen
1. using 'git format-patch' to generate patch
2. post review request
3. Jump 'Download diff' page to download. Sometime, layout is corrupted.
example:
From 9f4febefb3b0c188eb436675ea029c26490d517e Mon Sep 17 00:00:00 2001
From: xx <xx@xx.com>
Date: Fri, 30 Nov 2012 16:07:31 +0800
Subject: env: add a lib to read environment variables stored in flash

reference #210
Review-at: 628
Signed-off-by: xx <xx@xx.com>
---
 src/include/env.h               |   34 ++++++
 ...
 

sometime, layout will be:
diff --git a/src/lib/xx/Makefile b/src/lib/xx/Makefile
new file mode 100644
index 0000000..65aca64
--- /dev/null
...
From 9f4febefb3b0c188eb436675ea029c26490d517e Mon Sep 17 00:00:00 2001
From: xx <xx@xx.com>
Date: Fri, 30 Nov 2012 16:07:31 +0800
Subject: env: add a lib to read environment variables stored in flash

reference #210
Review-at: 628
Signed-off-by: xx <xx@xx.com>
---
 src/include/env.h               |   34 ++++++

Above example, I use '..' to represent some code snippet.
david
#1 david
  • +Component-DiffParser