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
path: root/gitweb
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-08-03 02:10:56 +0400
committerJunio C Hamano <gitster@pobox.com>2007-08-03 04:26:26 +0400
commit6490a3383f1d0d96c122069e510ef1af1d019fbb (patch)
tree2f53fc4f0484afc619dea3b589d5eb9cdc228b4a /gitweb
parent29093c28a21d75500e9388ad103b9af9a0bab1ae (diff)
Fix work-tree related breakages
In set_work_tree(), variable rel needs to be reinitialized to NULL on every call (it should not be static). Make sure the incoming dir variable is not too long before copying to the temporary buffer, and make sure chdir to the resulting directory succeeds. This was spotted and fixed by Alex and Johannes in a handful patch exchanges. Here is the final version. Signed-off-by: Junio C Hamano <gitster@pobox.com> Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Diffstat (limited to 'gitweb')
0 files changed, 0 insertions, 0 deletions