@anchor{Release 2_6_5}
@section Release 2.6.5
@itemize
+@item
+ Fix file's executable bit check, which may lead to inadmissible
+ @command{/bin/sh} run in case of symbolic links presence.
@item
Fix proper @command{mtime}'s nanoseconds storage.
@end itemize
--- /dev/null
+#!/bin/sh
+
+test_description="Check that relative executable target through symlink is run"
+. $SHARNESS_TEST_SRCDIR/sharness.sh
+export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
+
+cat >foo.do <<EOF
+#!/usr/bin/env perl
+use strict;
+EOF
+chmod +x foo.do
+mkdir -p a/b
+ln -s a/b b
+cd b
+test_expect_success "succeeds" 'redo "$REDO_TOP_DIR"/foo'
+
+test_done