Skip to content

Commit

Permalink
mergetool: portability fix: don't use reserved word function
Browse files Browse the repository at this point in the history
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
  • Loading branch information
Theodore Ts'o committed Mar 29, 2007
1 parent d1dc695 commit 262c981
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions git-mergetool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand All @@ -39,7 +39,7 @@ cleanup_temp_files () {
fi
}

function describe_file () {
describe_file () {
mode="$1"
branch="$2"
file="$3"
Expand Down

0 comments on commit 262c981

Please sign in to comment.