aboutsummaryrefslogtreecommitdiff
path: root/command-list.txt
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-05-03 08:51:01 +0700
committerJunio C Hamano <gitster@pobox.com>2012-05-03 10:22:56 -0700
commitd240d4102103215e9fe38431b1702a4024d2f1a7 (patch)
tree01e97d83990410e1df6af190c37ecd15f7067582 /command-list.txt
parent6163cd8a2a8703bdbd30920731aec32c68c39453 (diff)
downloadgit-d240d4102103215e9fe38431b1702a4024d2f1a7.tar.gz
git-d240d4102103215e9fe38431b1702a4024d2f1a7.tar.xz
archive-tar: turn write_tar_entry into blob-writing only
Before this patch write_tar_entry() can: - write global header by write_global_extended_header() calling write_tar_entry with with both sha1 and path == NULL - write extended header for symlinks, by write_tar_entry() calling itself with sha1 != NULL and path == NULL - write a normal blob. In this case both sha1 and path are valid. After this patch, the first two call sites are modified to write the header without calling write_tar_entry(). The function is now for writing blobs only. This simplifies handling when write_tar_entry() learns about large blobs. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'command-list.txt')
0 files changed, 0 insertions, 0 deletions