Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
laragon /
bin /
git /
mingw64 /
libexec /
git-core /
[ HOME SHELL ]
Name
Size
Permission
Action
mergetools
[ DIR ]
drwxrwxrwx
Atlassian.Bitbucket.UI.Shared....
22.41
KB
-rw-rw-rw-
Atlassian.Bitbucket.dll
54.91
KB
-rw-rw-rw-
GitHub.UI.Shared.dll
29.41
KB
-rw-rw-rw-
GitHub.dll
83.91
KB
-rw-rw-rw-
GitLab.UI.Shared.dll
24.41
KB
-rw-rw-rw-
GitLab.dll
38.91
KB
-rw-rw-rw-
Microsoft.AzureRepos.dll
60.91
KB
-rw-rw-rw-
Microsoft.Identity.Client.Desk...
106.91
KB
-rw-rw-rw-
Microsoft.Identity.Client.Exte...
61.91
KB
-rw-rw-rw-
Microsoft.Identity.Client.dll
1.45
MB
-rw-rw-rw-
Microsoft.Web.WebView2.Core.dl...
217.91
KB
-rw-rw-rw-
Microsoft.Web.WebView2.WinForm...
32.91
KB
-rw-rw-rw-
Microsoft.Web.WebView2.Wpf.dll
36.91
KB
-rw-rw-rw-
Newtonsoft.Json.dll
685.91
KB
-rw-rw-rw-
System.Buffers.dll
21.41
KB
-rw-rw-rw-
System.CommandLine.dll
211.41
KB
-rw-rw-rw-
System.Memory.dll
138.91
KB
-rw-rw-rw-
System.Numerics.Vectors.dll
107.41
KB
-rw-rw-rw-
System.Runtime.CompilerService...
17.41
KB
-rw-rw-rw-
WebView2Loader.dll
108.92
KB
-rw-rw-rw-
edit.dll
53
KB
-rw-rw-rw-
gcmcore.dll
269.91
KB
-rw-rw-rw-
gcmcoreui.dll
23.41
KB
-rw-rw-rw-
gcmcoreuiwpf.dll
36.41
KB
-rw-rw-rw-
git-add--interactive
48.16
KB
-rw-rw-rw-
git-add.exe
44.55
KB
-rwxrwxrwx
git-am.exe
44.55
KB
-rwxrwxrwx
git-annotate.exe
44.55
KB
-rwxrwxrwx
git-apply.exe
44.55
KB
-rwxrwxrwx
git-archive.exe
44.55
KB
-rwxrwxrwx
git-bisect
2.09
KB
-rw-rw-rw-
git-bisect--helper.exe
44.55
KB
-rwxrwxrwx
git-blame.exe
44.55
KB
-rwxrwxrwx
git-branch.exe
44.55
KB
-rwxrwxrwx
git-bugreport.exe
44.55
KB
-rwxrwxrwx
git-bundle.exe
44.55
KB
-rwxrwxrwx
git-cat-file.exe
44.55
KB
-rwxrwxrwx
git-check-attr.exe
44.55
KB
-rwxrwxrwx
git-check-ignore.exe
44.55
KB
-rwxrwxrwx
git-check-mailmap.exe
44.55
KB
-rwxrwxrwx
git-check-ref-format.exe
44.55
KB
-rwxrwxrwx
git-checkout--worker.exe
44.55
KB
-rwxrwxrwx
git-checkout-index.exe
44.55
KB
-rwxrwxrwx
git-checkout.exe
44.55
KB
-rwxrwxrwx
git-cherry-pick.exe
44.55
KB
-rwxrwxrwx
git-cherry.exe
44.55
KB
-rwxrwxrwx
git-citool
687
B
-rw-rw-rw-
git-clean.exe
44.55
KB
-rwxrwxrwx
git-clone.exe
44.55
KB
-rwxrwxrwx
git-column.exe
44.55
KB
-rwxrwxrwx
git-commit-graph.exe
44.55
KB
-rwxrwxrwx
git-commit-tree.exe
44.55
KB
-rwxrwxrwx
git-commit.exe
44.55
KB
-rwxrwxrwx
git-config.exe
44.55
KB
-rwxrwxrwx
git-count-objects.exe
44.55
KB
-rwxrwxrwx
git-credential-cache--daemon.e...
44.55
KB
-rwxrwxrwx
git-credential-cache.exe
44.55
KB
-rwxrwxrwx
git-credential-store.exe
44.55
KB
-rwxrwxrwx
git-credential-wincred.exe
57.08
KB
-rwxrwxrwx
git-credential.exe
44.55
KB
-rwxrwxrwx
git-daemon.exe
2.05
MB
-rwxrwxrwx
git-describe.exe
44.55
KB
-rwxrwxrwx
git-diff-files.exe
44.55
KB
-rwxrwxrwx
git-diff-index.exe
44.55
KB
-rwxrwxrwx
git-diff-tree.exe
44.55
KB
-rwxrwxrwx
git-diff.exe
44.55
KB
-rwxrwxrwx
git-difftool--helper
2.44
KB
-rw-rw-rw-
git-difftool.exe
44.55
KB
-rwxrwxrwx
git-env--helper.exe
44.55
KB
-rwxrwxrwx
git-fast-export.exe
44.55
KB
-rwxrwxrwx
git-fast-import.exe
44.55
KB
-rwxrwxrwx
git-fetch-pack.exe
44.55
KB
-rwxrwxrwx
git-fetch.exe
44.55
KB
-rwxrwxrwx
git-filter-branch
15.49
KB
-rw-rw-rw-
git-fmt-merge-msg.exe
44.55
KB
-rwxrwxrwx
git-for-each-ref.exe
44.55
KB
-rwxrwxrwx
git-for-each-repo.exe
44.55
KB
-rwxrwxrwx
git-format-patch.exe
44.55
KB
-rwxrwxrwx
git-fsck-objects.exe
44.55
KB
-rwxrwxrwx
git-fsck.exe
44.55
KB
-rwxrwxrwx
git-fsmonitor--daemon.exe
44.55
KB
-rwxrwxrwx
git-gc.exe
44.55
KB
-rwxrwxrwx
git-get-tar-commit-id.exe
44.55
KB
-rwxrwxrwx
git-grep.exe
44.55
KB
-rwxrwxrwx
git-gui
687
B
-rw-rw-rw-
git-gui--askpass
1.8
KB
-rw-rw-rw-
git-gui--askyesno
1.57
KB
-rw-rw-rw-
git-gui.tcl
104.12
KB
-rw-rw-rw-
git-hash-object.exe
44.55
KB
-rwxrwxrwx
git-help.exe
44.55
KB
-rwxrwxrwx
git-hook.exe
44.55
KB
-rwxrwxrwx
git-http-backend.exe
2.05
MB
-rwxrwxrwx
git-http-fetch.exe
2.07
MB
-rwxrwxrwx
git-http-push.exe
2.08
MB
-rwxrwxrwx
git-imap-send.exe
2.08
MB
-rwxrwxrwx
git-index-pack.exe
44.55
KB
-rwxrwxrwx
git-init-db.exe
44.55
KB
-rwxrwxrwx
git-init.exe
44.55
KB
-rwxrwxrwx
git-instaweb
21.65
KB
-rw-rw-rw-
git-interpret-trailers.exe
44.55
KB
-rwxrwxrwx
git-log.exe
44.55
KB
-rwxrwxrwx
git-ls-files.exe
44.55
KB
-rwxrwxrwx
git-ls-remote.exe
44.55
KB
-rwxrwxrwx
git-ls-tree.exe
44.55
KB
-rwxrwxrwx
git-mailinfo.exe
44.55
KB
-rwxrwxrwx
git-mailsplit.exe
44.55
KB
-rwxrwxrwx
git-maintenance.exe
44.55
KB
-rwxrwxrwx
git-merge-base.exe
44.55
KB
-rwxrwxrwx
git-merge-file.exe
44.55
KB
-rwxrwxrwx
git-merge-index.exe
44.55
KB
-rwxrwxrwx
git-merge-octopus
2.42
KB
-rw-rw-rw-
git-merge-one-file
3.61
KB
-rw-rw-rw-
git-merge-ours.exe
44.55
KB
-rwxrwxrwx
git-merge-recursive.exe
44.55
KB
-rwxrwxrwx
git-merge-resolve
944
B
-rw-rw-rw-
git-merge-subtree.exe
44.55
KB
-rwxrwxrwx
git-merge-tree.exe
44.55
KB
-rwxrwxrwx
git-merge.exe
44.55
KB
-rwxrwxrwx
git-mergetool
11.29
KB
-rw-rw-rw-
git-mergetool--lib
9.69
KB
-rw-rw-rw-
git-mktag.exe
44.55
KB
-rwxrwxrwx
git-mktree.exe
44.55
KB
-rwxrwxrwx
git-multi-pack-index.exe
44.55
KB
-rwxrwxrwx
git-mv.exe
44.55
KB
-rwxrwxrwx
git-name-rev.exe
44.55
KB
-rwxrwxrwx
git-notes.exe
44.55
KB
-rwxrwxrwx
git-p4
168.59
KB
-rw-rw-rw-
git-pack-objects.exe
44.55
KB
-rwxrwxrwx
git-pack-redundant.exe
44.55
KB
-rwxrwxrwx
git-pack-refs.exe
44.55
KB
-rwxrwxrwx
git-patch-id.exe
44.55
KB
-rwxrwxrwx
git-prune-packed.exe
44.55
KB
-rwxrwxrwx
git-prune.exe
44.55
KB
-rwxrwxrwx
git-pull.exe
44.55
KB
-rwxrwxrwx
git-push.exe
44.55
KB
-rwxrwxrwx
git-quiltimport
3.61
KB
-rw-rw-rw-
git-range-diff.exe
44.55
KB
-rwxrwxrwx
git-read-tree.exe
44.55
KB
-rwxrwxrwx
git-rebase.exe
44.55
KB
-rwxrwxrwx
git-receive-pack.exe
44.55
KB
-rwxrwxrwx
git-reflog.exe
44.55
KB
-rwxrwxrwx
git-remote-ext.exe
44.55
KB
-rwxrwxrwx
git-remote-fd.exe
44.55
KB
-rwxrwxrwx
git-remote-ftp.exe
2.09
MB
-rwxrwxrwx
git-remote-ftps.exe
2.09
MB
-rwxrwxrwx
git-remote-http.exe
2.09
MB
-rwxrwxrwx
git-remote-https.exe
2.09
MB
-rwxrwxrwx
git-remote.exe
44.55
KB
-rwxrwxrwx
git-repack.exe
44.55
KB
-rwxrwxrwx
git-replace.exe
44.55
KB
-rwxrwxrwx
git-request-pull
4.03
KB
-rw-rw-rw-
git-rerere.exe
44.55
KB
-rwxrwxrwx
git-reset.exe
44.55
KB
-rwxrwxrwx
git-restore.exe
44.55
KB
-rwxrwxrwx
git-rev-list.exe
44.55
KB
-rwxrwxrwx
git-rev-parse.exe
44.55
KB
-rwxrwxrwx
git-revert.exe
44.55
KB
-rwxrwxrwx
git-rm.exe
44.55
KB
-rwxrwxrwx
git-send-email
62.44
KB
-rw-rw-rw-
git-send-pack.exe
44.55
KB
-rwxrwxrwx
git-sh-i18n
1.67
KB
-rw-rw-rw-
git-sh-i18n--envsubst.exe
2.04
MB
-rwxrwxrwx
git-sh-setup
8.92
KB
-rw-rw-rw-
git-shortlog.exe
44.55
KB
-rwxrwxrwx
git-show-branch.exe
44.55
KB
-rwxrwxrwx
git-show-index.exe
44.55
KB
-rwxrwxrwx
git-show-ref.exe
44.55
KB
-rwxrwxrwx
git-show.exe
44.55
KB
-rwxrwxrwx
git-sparse-checkout.exe
44.55
KB
-rwxrwxrwx
git-stage.exe
44.55
KB
-rwxrwxrwx
git-stash.exe
44.55
KB
-rwxrwxrwx
git-status.exe
44.55
KB
-rwxrwxrwx
git-stripspace.exe
44.55
KB
-rwxrwxrwx
git-submodule
11.02
KB
-rw-rw-rw-
git-submodule--helper.exe
44.55
KB
-rwxrwxrwx
git-subtree
23.01
KB
-rw-rw-rw-
git-svn
64.26
KB
-rw-rw-rw-
git-switch.exe
44.55
KB
-rwxrwxrwx
git-symbolic-ref.exe
44.55
KB
-rwxrwxrwx
git-tag.exe
44.55
KB
-rwxrwxrwx
git-unpack-file.exe
44.55
KB
-rwxrwxrwx
git-unpack-objects.exe
44.55
KB
-rwxrwxrwx
git-update
218
B
-rw-rw-rw-
git-update-index.exe
44.55
KB
-rwxrwxrwx
git-update-ref.exe
44.55
KB
-rwxrwxrwx
git-update-server-info.exe
44.55
KB
-rwxrwxrwx
git-upload-archive.exe
44.55
KB
-rwxrwxrwx
git-upload-pack.exe
44.55
KB
-rwxrwxrwx
git-var.exe
44.55
KB
-rwxrwxrwx
git-verify-commit.exe
44.55
KB
-rwxrwxrwx
git-verify-pack.exe
44.55
KB
-rwxrwxrwx
git-verify-tag.exe
44.55
KB
-rwxrwxrwx
git-web--browse
4.3
KB
-rw-rw-rw-
git-whatchanged.exe
44.55
KB
-rwxrwxrwx
git-worktree.exe
44.55
KB
-rwxrwxrwx
git-write-tree.exe
44.55
KB
-rwxrwxrwx
git.exe
3.43
MB
-rwxrwxrwx
headless-git.exe
32.05
KB
-rwxrwxrwx
libbrotlicommon.dll
140.04
KB
-rw-rw-rw-
libbrotlidec.dll
50.64
KB
-rw-rw-rw-
libbz2-1.dll
96.82
KB
-rw-rw-rw-
libcares-5.dll
122.1
KB
-rw-rw-rw-
libcrypto-1_1-x64.dll
2.67
MB
-rw-rw-rw-
libcurl-4.dll
664.15
KB
-rw-rw-rw-
libexpat-1.dll
198.82
KB
-rw-rw-rw-
libffi-8.dll
31.14
KB
-rw-rw-rw-
libgcc_s_seh-1.dll
105.17
KB
-rw-rw-rw-
libgmp-10.dll
641.51
KB
-rw-rw-rw-
libhogweed-6.dll
268.31
KB
-rw-rw-rw-
libiconv-2.dll
1.06
MB
-rw-rw-rw-
libidn2-0.dll
230.63
KB
-rw-rw-rw-
libintl-8.dll
133.52
KB
-rw-rw-rw-
libjansson-4.dll
77.08
KB
-rw-rw-rw-
libjemalloc.dll
674.46
KB
-rw-rw-rw-
liblzma-5.dll
147.65
KB
-rw-rw-rw-
libnettle-8.dll
308.12
KB
-rw-rw-rw-
libnghttp2-14.dll
185.59
KB
-rw-rw-rw-
libp11-kit-0.dll
1.03
MB
-rw-rw-rw-
libpcre-1.dll
275.09
KB
-rw-rw-rw-
libpcre2-8-0.dll
624.85
KB
-rw-rw-rw-
libpcreposix-0.dll
40.77
KB
-rw-rw-rw-
libssh2-1.dll
263.79
KB
-rw-rw-rw-
libssl-1_1-x64.dll
539.65
KB
-rw-rw-rw-
libssp-0.dll
42.41
KB
-rw-rw-rw-
libstdc++-6.dll
1.93
MB
-rw-rw-rw-
libtasn1-6.dll
101.04
KB
-rw-rw-rw-
libtre-5.dll
90.15
KB
-rw-rw-rw-
libunistring-2.dll
1.84
MB
-rw-rw-rw-
libwinpthread-1.dll
56.75
KB
-rw-rw-rw-
libxml2-2.dll
1.28
MB
-rw-rw-rw-
libzstd.dll
810.89
KB
-rw-rw-rw-
tcl86.dll
1.6
MB
-rw-rw-rw-
tk86.dll
1.44
MB
-rw-rw-rw-
zlib1.dll
116.24
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : git-sh-setup
# This shell scriplet is meant to be included by other shell scripts # to set up some variables pointing at the normal git directories and # a few helper shell functions. # Having this variable in your environment would break scripts because # you would cause "cd" to be taken to unexpected places. If you # like CDPATH, define it for your interactive shell sessions without # exporting it. # But we protect ourselves from such a user mistake nevertheless. unset CDPATH # Similarly for IFS, but some shells (e.g. FreeBSD 7.2) are buggy and # do not equate an unset IFS with IFS with the default, so here is # an explicit SP HT LF. IFS=' ' git_broken_path_fix () { case ":$PATH:" in *:$1:*) : ok ;; *) PATH=$( SANE_TOOL_PATH="$1" IFS=: path= sep= set x $PATH shift for elem do case "$SANE_TOOL_PATH:$elem" in (?*:/bin | ?*:/usr/bin) path="$path$sep$SANE_TOOL_PATH" sep=: SANE_TOOL_PATH= esac path="$path$sep$elem" sep=: done echo "$path" ) ;; esac } # Source git-sh-i18n for gettext support. . "$(git --exec-path)/git-sh-i18n" die () { die_with_status 1 "$@" } die_with_status () { status=$1 shift printf >&2 '%s\n' "$*" exit "$status" } GIT_QUIET= say () { if test -z "$GIT_QUIET" then printf '%s\n' "$*" fi } if test -n "$OPTIONS_SPEC"; then usage() { "$0" -h exit 1 } parseopt_extra= [ -n "$OPTIONS_KEEPDASHDASH" ] && parseopt_extra="--keep-dashdash" [ -n "$OPTIONS_STUCKLONG" ] && parseopt_extra="$parseopt_extra --stuck-long" eval "$( echo "$OPTIONS_SPEC" | git rev-parse --parseopt $parseopt_extra -- "$@" || echo exit $? )" else dashless=$(basename -- "$0" | sed -e 's/-/ /') usage() { die "$(eval_gettext "usage: \$dashless \$USAGE")" } if [ -z "$LONG_USAGE" ] then LONG_USAGE="$(eval_gettext "usage: \$dashless \$USAGE")" else LONG_USAGE="$(eval_gettext "usage: \$dashless \$USAGE $LONG_USAGE")" fi case "$1" in -h) echo "$LONG_USAGE" exit esac fi # Set the name of the end-user facing command in the reflog when the # script may update refs. When GIT_REFLOG_ACTION is already set, this # will not overwrite it, so that a scripted Porcelain (e.g. "git # rebase") can set it to its own name (e.g. "rebase") and then call # another scripted Porcelain (e.g. "git am") and a call to this # function in the latter will keep the name of the end-user facing # program (e.g. "rebase") in GIT_REFLOG_ACTION, ensuring whatever it # does will be record as actions done as part of the end-user facing # operation (e.g. "rebase"). # # NOTE NOTE NOTE: consequently, after assigning a specific message to # GIT_REFLOG_ACTION when calling a "git" command to record a custom # reflog message, do not leave that custom value in GIT_REFLOG_ACTION, # after you are done. Other callers of "git" commands that rely on # writing the default "program name" in reflog expect the variable to # contain the value set by this function. # # To use a custom reflog message, do either one of these three: # # (a) use a single-shot export form: # GIT_REFLOG_ACTION="$GIT_REFLOG_ACTION: preparing frotz" \ # git command-that-updates-a-ref # # (b) save the original away and restore: # SAVED_ACTION=$GIT_REFLOG_ACTION # GIT_REFLOG_ACTION="$GIT_REFLOG_ACTION: preparing frotz" # git command-that-updates-a-ref # GIT_REFLOG_ACITON=$SAVED_ACTION # # (c) assign the variable in a subshell: # ( # GIT_REFLOG_ACTION="$GIT_REFLOG_ACTION: preparing frotz" # git command-that-updates-a-ref # ) set_reflog_action() { if [ -z "${GIT_REFLOG_ACTION:+set}" ] then GIT_REFLOG_ACTION="$*" export GIT_REFLOG_ACTION fi } git_editor() { if test -z "${GIT_EDITOR:+set}" then GIT_EDITOR="$(git var GIT_EDITOR)" || return $? fi eval "$GIT_EDITOR" '"$@"' } git_pager() { if test -t 1 then GIT_PAGER=$(git var GIT_PAGER) else GIT_PAGER=cat fi for vardef in LESS=FRX LV=-c do var=${vardef%%=*} eval ": \"\${$vardef}\" && export $var" done eval "$GIT_PAGER" '"$@"' } is_bare_repository () { git rev-parse --is-bare-repository } cd_to_toplevel () { cdup=$(git rev-parse --show-toplevel) && cd "$cdup" || { gettextln "Cannot chdir to \$cdup, the toplevel of the working tree" >&2 exit 1 } } require_work_tree_exists () { if test "z$(git rev-parse --is-bare-repository)" != zfalse then program_name=$0 die "$(eval_gettext "fatal: \$program_name cannot be used without a working tree.")" fi } require_work_tree () { test "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = true || { program_name=$0 die "$(eval_gettext "fatal: \$program_name cannot be used without a working tree.")" } } require_clean_work_tree () { git rev-parse --verify HEAD >/dev/null || exit 1 git update-index -q --ignore-submodules --refresh err=0 if ! git diff-files --quiet --ignore-submodules then action=$1 case "$action" in "rewrite branches") gettextln "Cannot rewrite branches: You have unstaged changes." >&2 ;; *) eval_gettextln "Cannot \$action: You have unstaged changes." >&2 ;; esac err=1 fi if ! git diff-index --cached --quiet --ignore-submodules HEAD -- then if test $err = 0 then action=$1 eval_gettextln "Cannot \$action: Your index contains uncommitted changes." >&2 else gettextln "Additionally, your index contains uncommitted changes." >&2 fi err=1 fi if test $err = 1 then test -n "$2" && echo "$2" >&2 exit 1 fi } # Generate a sed script to parse identities from a commit. # # Reads the commit from stdin, which should be in raw format (e.g., from # cat-file or "--pretty=raw"). # # The first argument specifies the ident line to parse (e.g., "author"), and # the second specifies the environment variable to put it in (e.g., "AUTHOR" # for "GIT_AUTHOR_*"). Multiple pairs can be given to parse author and # committer. pick_ident_script () { while test $# -gt 0 do lid=$1; shift uid=$1; shift printf '%s' " /^$lid /{ s/'/'\\\\''/g h s/^$lid "'\([^<]*\) <[^>]*> .*$/\1/'" s/.*/GIT_${uid}_NAME='&'/p g s/^$lid "'[^<]* <\([^>]*\)> .*$/\1/'" s/.*/GIT_${uid}_EMAIL='&'/p g s/^$lid "'[^<]* <[^>]*> \(.*\)$/@\1/'" s/.*/GIT_${uid}_DATE='&'/p } " done echo '/^$/q' } # Create a pick-script as above and feed it to sed. Stdout is suitable for # feeding to eval. parse_ident_from_commit () { LANG=C LC_ALL=C sed -ne "$(pick_ident_script "$@")" } # Parse the author from a commit given as an argument. Stdout is suitable for # feeding to eval to set the usual GIT_* ident variables. get_author_ident_from_commit () { encoding=$(git config i18n.commitencoding || echo UTF-8) git show -s --pretty=raw --encoding="$encoding" "$1" -- | parse_ident_from_commit author AUTHOR } # Clear repo-local GIT_* environment variables. Useful when switching to # another repository (e.g. when entering a submodule). See also the env # list in git_connect() clear_local_git_env() { unset $(git rev-parse --local-env-vars) } # Generate a virtual base file for a two-file merge. Uses git apply to # remove lines from $1 that are not in $2, leaving only common lines. create_virtual_base() { sz0=$(wc -c <"$1") diff -u -La/"$1" -Lb/"$1" "$1" "$2" | git apply --no-add sz1=$(wc -c <"$1") # If we do not have enough common material, it is not # worth trying two-file merge using common subsections. expr $sz0 \< $sz1 \* 2 >/dev/null || : >"$1" } # Platform specific tweaks to work around some commands case $(uname -s) in *MINGW*) if test -x /usr/bin/sort then # Windows has its own (incompatible) sort; override sort () { /usr/bin/sort "$@" } fi if test -x /usr/bin/find then # Windows has its own (incompatible) find; override find () { /usr/bin/find "$@" } fi # On Windows, Git wants Windows paths. But /usr/bin/pwd spits out # Unix-style paths. At least in Bash, we have a builtin pwd that # understands the -W option to force "mixed" paths, i.e. with drive # prefix but still with forward slashes. Let's use that, if available. if type builtin >/dev/null 2>&1 then pwd () { builtin pwd -W } fi is_absolute_path () { case "$1" in [/\\]* | [A-Za-z]:*) return 0 ;; esac return 1 } ;; *) is_absolute_path () { case "$1" in /*) return 0 ;; esac return 1 } esac # Make sure we are in a valid repository of a vintage we understand, # if we require to be in a git repository. git_dir_init () { GIT_DIR=$(git rev-parse --git-dir) || exit if [ -z "$SUBDIRECTORY_OK" ] then test -z "$(git rev-parse --show-cdup)" || { exit=$? gettextln "You need to run this command from the toplevel of the working tree." >&2 exit $exit } fi test -n "$GIT_DIR" && GIT_DIR=$(cd "$GIT_DIR" && pwd) || { gettextln "Unable to determine absolute path of git directory" >&2 exit 1 } : "${GIT_OBJECT_DIRECTORY="$(git rev-parse --git-path objects)"}" } if test -z "$NONGIT_OK" then git_dir_init fi peel_committish () { case "$1" in :/*) peeltmp=$(git rev-parse --verify "$1") && git rev-parse --verify "${peeltmp}^0" ;; *) git rev-parse --verify "${1}^0" ;; esac }
Close