summaryrefslogtreecommitdiff
path: root/merge-file.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-08-01 04:24:25 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-08-19 07:38:35 (GMT)
commit2c570cde98cfde704ee67ea29031493c633f971e (patch)
tree01b2aab3fe8da779ecaed3baa7246d87f7ae0fa8 /merge-file.c
parent401d53fa35098266e2a4a904a4598b59f1b74663 (diff)
downloadgit-2c570cde98cfde704ee67ea29031493c633f971e.zip
git-2c570cde98cfde704ee67ea29031493c633f971e.tar.gz
git-2c570cde98cfde704ee67ea29031493c633f971e.tar.bz2
Make trailing LF following fast-import `data` commands optional
A few fast-import frontend developers have found it odd that we require the LF following a `data` command, especially in the exact byte count format. Technically we don't need this LF to parse the stream properly, but having it here does make the stream more readable to humans. We can easily make the LF optional by peeking at the next byte available from the stream and pushing it back into the buffer if its not LF. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'merge-file.c')
0 files changed, 0 insertions, 0 deletions