SM0 She11
Path:
/
/
usr
/
libexec
/
git-core
Full Path (server): /usr/libexec/git-core
Create Fil3
Upl04d Fil3
📄 git
[E]
[D]
[R]
📄 git-add
[E]
[D]
[R]
📄 git-add--interactive
[E]
[D]
[R]
📄 git-am
[E]
[D]
[R]
📄 git-annotate
[E]
[D]
[R]
📄 git-apply
[E]
[D]
[R]
📄 git-archive
[E]
[D]
[R]
📄 git-bisect
[E]
[D]
[R]
📄 git-bisect--helper
[E]
[D]
[R]
📄 git-blame
[E]
[D]
[R]
📄 git-branch
[E]
[D]
[R]
📄 git-bundle
[E]
[D]
[R]
📄 git-cat-file
[E]
[D]
[R]
📄 git-check-attr
[E]
[D]
[R]
📄 git-check-ignore
[E]
[D]
[R]
📄 git-check-ref-format
[E]
[D]
[R]
📄 git-checkout
[E]
[D]
[R]
📄 git-checkout-index
[E]
[D]
[R]
📄 git-cherry
[E]
[D]
[R]
📄 git-cherry-pick
[E]
[D]
[R]
📄 git-clean
[E]
[D]
[R]
📄 git-clone
[E]
[D]
[R]
📄 git-column
[E]
[D]
[R]
📄 git-commit
[E]
[D]
[R]
📄 git-commit-tree
[E]
[D]
[R]
📄 git-config
[E]
[D]
[R]
📄 git-count-objects
[E]
[D]
[R]
📄 git-credential
[E]
[D]
[R]
📄 git-credential-cache
[E]
[D]
[R]
📄 git-credential-cache--daemon
[E]
[D]
[R]
📄 git-credential-store
[E]
[D]
[R]
📄 git-describe
[E]
[D]
[R]
📄 git-diff
[E]
[D]
[R]
📄 git-diff-files
[E]
[D]
[R]
📄 git-diff-index
[E]
[D]
[R]
📄 git-diff-tree
[E]
[D]
[R]
📄 git-difftool
[E]
[D]
[R]
📄 git-difftool--helper
[E]
[D]
[R]
📄 git-fast-export
[E]
[D]
[R]
📄 git-fast-import
[E]
[D]
[R]
📄 git-fetch
[E]
[D]
[R]
📄 git-fetch-pack
[E]
[D]
[R]
📄 git-filter-branch
[E]
[D]
[R]
📄 git-fmt-merge-msg
[E]
[D]
[R]
📄 git-for-each-ref
[E]
[D]
[R]
📄 git-format-patch
[E]
[D]
[R]
📄 git-fsck
[E]
[D]
[R]
📄 git-fsck-objects
[E]
[D]
[R]
📄 git-gc
[E]
[D]
[R]
📄 git-get-tar-commit-id
[E]
[D]
[R]
📄 git-grep
[E]
[D]
[R]
📄 git-hash-object
[E]
[D]
[R]
📄 git-help
[E]
[D]
[R]
📄 git-http-backend
[E]
[D]
[R]
📄 git-http-fetch
[E]
[D]
[R]
📄 git-http-push
[E]
[D]
[R]
📄 git-imap-send
[E]
[D]
[R]
📄 git-index-pack
[E]
[D]
[R]
📄 git-init
[E]
[D]
[R]
📄 git-init-db
[E]
[D]
[R]
📄 git-log
[E]
[D]
[R]
📄 git-lost-found
[E]
[D]
[R]
📄 git-ls-files
[E]
[D]
[R]
📄 git-ls-remote
[E]
[D]
[R]
📄 git-ls-tree
[E]
[D]
[R]
📄 git-mailinfo
[E]
[D]
[R]
📄 git-mailsplit
[E]
[D]
[R]
📄 git-merge
[E]
[D]
[R]
📄 git-merge-base
[E]
[D]
[R]
📄 git-merge-file
[E]
[D]
[R]
📄 git-merge-index
[E]
[D]
[R]
📄 git-merge-octopus
[E]
[D]
[R]
📄 git-merge-one-file
[E]
[D]
[R]
📄 git-merge-ours
[E]
[D]
[R]
📄 git-merge-recursive
[E]
[D]
[R]
📄 git-merge-resolve
[E]
[D]
[R]
📄 git-merge-subtree
[E]
[D]
[R]
📄 git-merge-tree
[E]
[D]
[R]
📄 git-mergetool
[E]
[D]
[R]
📄 git-mergetool--lib
[E]
[D]
[R]
📄 git-mktag
[E]
[D]
[R]
📄 git-mktree
[E]
[D]
[R]
📄 git-mv
[E]
[D]
[R]
📄 git-name-rev
[E]
[D]
[R]
📄 git-notes
[E]
[D]
[R]
📄 git-pack-objects
[E]
[D]
[R]
📄 git-pack-redundant
[E]
[D]
[R]
📄 git-pack-refs
[E]
[D]
[R]
📄 git-parse-remote
[E]
[D]
[R]
📄 git-patch-id
[E]
[D]
[R]
📄 git-peek-remote
[E]
[D]
[R]
📄 git-prune
[E]
[D]
[R]
📄 git-prune-packed
[E]
[D]
[R]
📄 git-pull
[E]
[D]
[R]
📄 git-push
[E]
[D]
[R]
📄 git-quiltimport
[E]
[D]
[R]
📄 git-read-tree
[E]
[D]
[R]
📄 git-rebase
[E]
[D]
[R]
📄 git-rebase--am
[E]
[D]
[R]
📄 git-rebase--interactive
[E]
[D]
[R]
📄 git-rebase--merge
[E]
[D]
[R]
📄 git-receive-pack
[E]
[D]
[R]
📄 git-reflog
[E]
[D]
[R]
📄 git-relink
[E]
[D]
[R]
📄 git-remote
[E]
[D]
[R]
📄 git-remote-ext
[E]
[D]
[R]
📄 git-remote-fd
[E]
[D]
[R]
📄 git-remote-ftp
[E]
[D]
[R]
📄 git-remote-ftps
[E]
[D]
[R]
📄 git-remote-http
[E]
[D]
[R]
📄 git-remote-https
[E]
[D]
[R]
📄 git-remote-testpy
[E]
[D]
[R]
📄 git-repack
[E]
[D]
[R]
📄 git-replace
[E]
[D]
[R]
📄 git-repo-config
[E]
[D]
[R]
📄 git-request-pull
[E]
[D]
[R]
📄 git-rerere
[E]
[D]
[R]
📄 git-reset
[E]
[D]
[R]
📄 git-rev-list
[E]
[D]
[R]
📄 git-rev-parse
[E]
[D]
[R]
📄 git-revert
[E]
[D]
[R]
📄 git-rm
[E]
[D]
[R]
📄 git-send-pack
[E]
[D]
[R]
📄 git-sh-i18n
[E]
[D]
[R]
📄 git-sh-i18n--envsubst
[E]
[D]
[R]
📄 git-sh-setup
[E]
[D]
[R]
📄 git-shell
[E]
[D]
[R]
📄 git-shortlog
[E]
[D]
[R]
📄 git-show
[E]
[D]
[R]
📄 git-show-branch
[E]
[D]
[R]
📄 git-show-index
[E]
[D]
[R]
📄 git-show-ref
[E]
[D]
[R]
📄 git-stage
[E]
[D]
[R]
📄 git-stash
[E]
[D]
[R]
📄 git-status
[E]
[D]
[R]
📄 git-stripspace
[E]
[D]
[R]
📄 git-submodule
[E]
[D]
[R]
📄 git-submodule--helper
[E]
[D]
[R]
📄 git-subtree
[E]
[D]
[R]
📄 git-symbolic-ref
[E]
[D]
[R]
📄 git-tag
[E]
[D]
[R]
📄 git-tar-tree
[E]
[D]
[R]
📄 git-unpack-file
[E]
[D]
[R]
📄 git-unpack-objects
[E]
[D]
[R]
📄 git-update-index
[E]
[D]
[R]
📄 git-update-ref
[E]
[D]
[R]
📄 git-update-server-info
[E]
[D]
[R]
📄 git-upload-archive
[E]
[D]
[R]
📄 git-upload-pack
[E]
[D]
[R]
📄 git-var
[E]
[D]
[R]
📄 git-verify-pack
[E]
[D]
[R]
📄 git-verify-tag
[E]
[D]
[R]
📄 git-web--browse
[E]
[D]
[R]
📄 git-whatchanged
[E]
[D]
[R]
📄 git-write-tree
[E]
[D]
[R]
📁 mergetools
Open
[D]
[R]
Editing: git-quiltimport
#!/bin/sh OPTIONS_KEEPDASHDASH= OPTIONS_SPEC="\ git quiltimport [options] -- n,dry-run dry run author= author name and email address for patches without any patches= path to the quilt series and patches " SUBDIRECTORY_ON=Yes . git-sh-setup dry_run="" quilt_author="" while test $# != 0 do case "$1" in --author) shift quilt_author="$1" ;; -n|--dry-run) dry_run=1 ;; --patches) shift QUILT_PATCHES="$1" ;; --) shift break;; *) usage ;; esac shift done # Quilt Author if [ -n "$quilt_author" ] ; then quilt_author_name=$(expr "z$quilt_author" : 'z\(.*[^ ]\) *<.*') && quilt_author_email=$(expr "z$quilt_author" : '.*<\([^>]*\)') && test '' != "$quilt_author_name" && test '' != "$quilt_author_email" || die "malformed --author parameter" fi # Quilt patch directory : ${QUILT_PATCHES:=patches} if ! [ -d "$QUILT_PATCHES" ] ; then echo "The \"$QUILT_PATCHES\" directory does not exist." exit 1 fi # Temporary directories tmp_dir="$GIT_DIR"/rebase-apply tmp_msg="$tmp_dir/msg" tmp_patch="$tmp_dir/patch" tmp_info="$tmp_dir/info" # Find the initial commit commit=$(git rev-parse HEAD) mkdir $tmp_dir || exit 2 while read patch_name level garbage <&3 do case "$patch_name" in ''|'#'*) continue;; esac case "$level" in -p*) ;; ''|'#'*) level=;; *) echo "unable to parse patch level, ignoring it." level=;; esac case "$garbage" in ''|'#'*);; *) echo "trailing garbage found in series file: $garbage" exit 1;; esac if ! [ -f "$QUILT_PATCHES/$patch_name" ] ; then echo "$patch_name doesn't exist. Skipping." continue fi echo $patch_name git mailinfo "$tmp_msg" "$tmp_patch" \ <"$QUILT_PATCHES/$patch_name" >"$tmp_info" || exit 3 test -s "$tmp_patch" || { echo "Patch is empty. Was it split wrong?" exit 1 } # Parse the author information GIT_AUTHOR_NAME=$(sed -ne 's/Author: //p' "$tmp_info") GIT_AUTHOR_EMAIL=$(sed -ne 's/Email: //p' "$tmp_info") export GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL while test -z "$GIT_AUTHOR_EMAIL" && test -z "$GIT_AUTHOR_NAME" ; do if [ -n "$quilt_author" ] ; then GIT_AUTHOR_NAME="$quilt_author_name"; GIT_AUTHOR_EMAIL="$quilt_author_email"; elif [ -n "$dry_run" ]; then echo "No author found in $patch_name" >&2; GIT_AUTHOR_NAME="dry-run-not-found"; GIT_AUTHOR_EMAIL="dry-run-not-found"; else echo "No author found in $patch_name" >&2; echo "---" cat $tmp_msg printf "Author: "; read patch_author echo "$patch_author" patch_author_name=$(expr "z$patch_author" : 'z\(.*[^ ]\) *<.*') && patch_author_email=$(expr "z$patch_author" : '.*<\([^>]*\)') && test '' != "$patch_author_name" && test '' != "$patch_author_email" && GIT_AUTHOR_NAME="$patch_author_name" && GIT_AUTHOR_EMAIL="$patch_author_email" fi done GIT_AUTHOR_DATE=$(sed -ne 's/Date: //p' "$tmp_info") SUBJECT=$(sed -ne 's/Subject: //p' "$tmp_info") export GIT_AUTHOR_DATE SUBJECT if [ -z "$SUBJECT" ] ; then SUBJECT=$(echo $patch_name | sed -e 's/.patch$//') fi if [ -z "$dry_run" ] ; then git apply --index -C1 ${level:+"$level"} "$tmp_patch" && tree=$(git write-tree) && commit=$( (echo "$SUBJECT"; echo; cat "$tmp_msg") | git commit-tree $tree -p $commit) && git update-ref -m "quiltimport: $patch_name" HEAD $commit || exit 4 fi done 3<"$QUILT_PATCHES/series" rm -rf $tmp_dir || exit 5
Save