Matthieu Moy wrote:
The patch generated by git-format-patch has author information (in
"From:" header), original commit date (in "Date:" header), commit
message (first line in "Subject:", rest in message body), place for
comments which are not to be included in commit message, diffstat for
easier patch review, and git extended diff (with information about
renames detection, mode changes, 7-characters wide shortcuts of file
contents identifiers). It does not record parent information, original
comitter and comitter date, which branch we are on etc. You can quite
easily provide ordering of patches.
Sending patches via email prohibits first line of commit message to be
enclosed in brackets (subject usually is "[PATCH] Commit description"
or "[PATCH n/m] Commit description") and enforces git convention of
commit message to consist of first line describing commit shortly,
separated by empty line from the longer description and signoff lines.
"Bundle" equivalent, although binary in nature, would be thin pack.
>> It is very usefull tool to have for "accidental" developer.
How very true...
>> BTW. git can provide binary patch for binary files (e.g. adding
If I remember correctly git binary diff format is xdiff based, and uses
kind of ascii85 encoding (PostScript).
--
Jakub Narebski
Poland
-
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
| Heiko Carstens | Re: -mm merge plans for 2.6.23 -- sys_fallocate |
| Linus Torvalds | Linux 2.6.21-rc4 |
| Michael Kerrisk | nanosleep() uses CLOCK_MONOTONIC, should be CLOCK_REALTIME? |
| Linus Torvalds | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Gary Thomas | Marvell 88E609x switch? |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
