Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2020-04-24 00:41:02 +0300
committerJunio C Hamano <gitster@pobox.com>2020-04-24 00:58:52 +0300
commita2d57e22803b1da0df95b0a88a34116209eeb6e6 (patch)
treee9a7231e40de629dbff8232d8ac4da0f74a5725c /t/t1400-update-ref.sh
parent7a9ce0269bc0f4ef230f930b3910b70ac3142552 (diff)
commit-graph.c: don't use discarded graph_name in error
When writing a commit-graph layer, we do so in a temporary file which is renamed into place. If we fail to create a temporary file, for e.g., because we have too many open files, then 'git_mkstemp_mode' sets the pattern to the empty string, in which case we get an error something along the lines of: error: unable to create '' It's not useful to show the pattern here at all, since we (1) know the pattern is well-formed, and (2) would have already shown the dirname when trying to create the leading directories. So, replace this error with something friendlier. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1400-update-ref.sh')
0 files changed, 0 insertions, 0 deletions