diff options
author | Ed Maste <emaste@freebsd.org> | 2016-06-17 11:33:29 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-06-17 11:04:38 -0700 |
commit | 9b35cadc2c7660745264041317f5982e1dde3f88 (patch) | |
tree | eb053bb1813ae762896d8585b626568201c415ef /attr.c | |
parent | Git 2.4.11 (diff) | |
download | tgif-9b35cadc2c7660745264041317f5982e1dde3f88.tar.xz |
rebase: update comment about FreeBSD /bin/sh
Commit 9f50d32 introduced a fix for FreeBSD /bin/sh misbehaviour
when dot-sourcing a file containing "return" statements outside of
any function, from a function in another shell script. That issue
affects FreeBSD 9.x, and is not present in the /bin/sh in FreeBSD
10.3 and later. Update the comment to clarify this.
The example from 9f50d32's commit message produces the expected output
on FreeBSD 10.3 and -CURRENT (the upcoming 11.0):
% sh script1.sh
only this line should show
%
Signed-off-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'attr.c')
0 files changed, 0 insertions, 0 deletions