summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_--pretty_--root_--patch-with-stat_initial
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-08-29 13:07:04 -0400
committerLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2019-12-04 13:20:04 +0100
commite075dba3723875f478654068609f69b2a5af8566 (patch)
tree7b8e2f2e79663825d6f6085fbb5a149e033a04d6 /t/t4013/diff.diff-tree_--pretty_--root_--patch-with-stat_initial
parentfast-import: tighten parsing of boolean command line options (diff)
downloadtgif-e075dba3723875f478654068609f69b2a5af8566.tar.xz
fast-import: stop creating leading directories for import-marks
When asked to import marks from "subdir/file.marks", we create the leading directory "subdir" if it doesn't exist. This makes no sense for importing marks, where we only ever open the path for reading. Most of the time this would be a noop, since if the marks file exists, then the leading directories exist, too. But if it doesn't (e.g., because --import-marks-if-exists was used), then we'd create the useless directory. This dates back to 580d5f83e7 (fast-import: always create marks_file directories, 2010-03-29). Even then it was useless, so it seems to have been added in error alongside the --export-marks case (which _is_ helpful). Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 't/t4013/diff.diff-tree_--pretty_--root_--patch-with-stat_initial')
0 files changed, 0 insertions, 0 deletions