зеркало из https://github.com/microsoft/git.git
mergetool: portability fix: don't use reserved word function
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
Родитель
d1dc6959bb
Коммит
262c981ea7
|
@ -14,19 +14,19 @@ SUBDIRECTORY_OK=Yes
|
|||
require_work_tree
|
||||
|
||||
# Returns true if the mode reflects a symlink
|
||||
function is_symlink () {
|
||||
is_symlink () {
|
||||
test "$1" = 120000
|
||||
}
|
||||
|
||||
function local_present () {
|
||||
local_present () {
|
||||
test -n "$local_mode"
|
||||
}
|
||||
|
||||
function remote_present () {
|
||||
remote_present () {
|
||||
test -n "$remote_mode"
|
||||
}
|
||||
|
||||
function base_present () {
|
||||
base_present () {
|
||||
test -n "$base_mode"
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ cleanup_temp_files () {
|
|||
fi
|
||||
}
|
||||
|
||||
function describe_file () {
|
||||
describe_file () {
|
||||
mode="$1"
|
||||
branch="$2"
|
||||
file="$3"
|
||||
|
|
Загрузка…
Ссылка в новой задаче