Skip to content

git-tar-tree: add symlink support

Rene Scharfe git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5git-tar-tree: add get_record()tar-tree.c (mode:100644 sha1:06f4ca480e0d212b51970debdbf97a3379225330)+13 -130 replies
1/5pretty describe: add name info to struct commitbuiltin-describe.c commit.c commit.h+69 -593 replies
2/5git-tar-tree: add TYPEFLAG_ constantstar-tree.c (mode:100644 sha1:a5b9fc937c6c54a8155dd8d28772ecb5ba5dd303)+20 -50 replies
2/5pretty describe: factor out describe_commit() from describe()builtin-describe.c+41 -230 replies
3/5git-tar-tree: add extended header helperstar-tree.c (mode:100644 sha1:277c882acc4f487bfc90dee76b00dc88f99f3da3)+40 -180 replies
3/5pretty describe: move library functions to the new file describe.cMakefile builtin-describe.c cache.h +1 more+210 -2032 replies
4/5git-tar-tree: make file contents accessible to write_header()tar-tree.c (mode:100644 sha1:e99adc7dd781cf46efbed82221bf62975a4a3996)+13 -100 replies
4/5pretty describe: de-const'ify struct commit arg of format_commit_message()archive-tar.c archive-zip.c archive.h +3 more+12 -120 replies
5/5git-tar-tree: add symlink supporttar-tree.c (mode:100644 sha1:a09cb416595094e493a52dd7f45d943c81c0310a)+47 -130 replies
5/5pretty describe: add %ds, %dn, %dd placeholdersDocumentation/pretty-formats.txt commit.c interpolate.c +2 more+101 -06 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] git-tar-tree: add symlink support

Since symlinks can be stored inside GIT, git-tar-tree should properly handle them, too. The first three patches do a bit of cleanup to make adding symlink support easier. The fourth patch actually dirties the code, also to make the fifth one easier. :) I just couldn't think of a better way to split the changes and a combined patch of 4&5 did too much at once.

If a link target is longer than 100 chars than an extended header is created. Because of the way git-tar-tree handles extended headers that means the sum of path and target of a symlink must be less than about 490 chars. This is not a limitation of the archive format, so we can fix it later.

Rene