/
snap
/
gh
/
502
/
usr
/
lib
/
git-core
/
/snap/gh/502/usr/lib/git-core
mkdir
upload
Name
Size
Mode
Actions
mergetools/
-
0755
rm
git
2351792
0755
edit
dl
rm
git-add
2351792
0755
edit
dl
rm
git-add--interactive
43919
0755
edit
dl
rm
git-am
2351792
0755
edit
dl
rm
git-annotate
2351792
0755
edit
dl
rm
git-apply
2351792
0755
edit
dl
rm
git-archive
2351792
0755
edit
dl
rm
git-bisect
14444
0755
edit
dl
rm
git-bisect--helper
2351792
0755
edit
dl
rm
git-blame
2351792
0755
edit
dl
rm
git-branch
2351792
0755
edit
dl
rm
git-bundle
2351792
0755
edit
dl
rm
git-cat-file
2351792
0755
edit
dl
rm
git-check-attr
2351792
0755
edit
dl
rm
git-check-ignore
2351792
0755
edit
dl
rm
git-check-mailmap
2351792
0755
edit
dl
rm
git-check-ref-format
2351792
0755
edit
dl
rm
git-checkout
2351792
0755
edit
dl
rm
git-checkout-index
2351792
0755
edit
dl
rm
git-cherry
2351792
0755
edit
dl
rm
git-cherry-pick
2351792
0755
edit
dl
rm
git-clean
2351792
0755
edit
dl
rm
git-clone
2351792
0755
edit
dl
rm
git-column
2351792
0755
edit
dl
rm
git-commit
2351792
0755
edit
dl
rm
git-commit-tree
2351792
0755
edit
dl
rm
git-config
2351792
0755
edit
dl
rm
git-count-objects
2351792
0755
edit
dl
rm
git-credential
2351792
0755
edit
dl
rm
git-credential-cache
1308912
0755
edit
dl
rm
git-credential-cache--daemon
1317200
0755
edit
dl
rm
git-credential-store
1317168
0755
edit
dl
rm
git-daemon
1321328
0755
edit
dl
rm
git-describe
2351792
0755
edit
dl
rm
git-diff
2351792
0755
edit
dl
rm
git-diff-files
2351792
0755
edit
dl
rm
git-diff-index
2351792
0755
edit
dl
rm
git-diff-tree
2351792
0755
edit
dl
rm
git-difftool
2351792
0755
edit
dl
rm
git-difftool--helper
2244
0755
edit
dl
rm
git-fast-export
2351792
0755
edit
dl
rm
git-fast-import
1346416
0755
edit
dl
rm
git-fetch
2351792
0755
edit
dl
rm
git-fetch-pack
2351792
0755
edit
dl
rm
git-filter-branch
15534
0755
edit
dl
rm
git-fmt-merge-msg
2351792
0755
edit
dl
rm
git-for-each-ref
2351792
0755
edit
dl
rm
git-format-patch
2351792
0755
edit
dl
rm
git-fsck
2351792
0755
edit
dl
rm
git-fsck-objects
2351792
0755
edit
dl
rm
git-gc
2351792
0755
edit
dl
rm
git-get-tar-commit-id
2351792
0755
edit
dl
rm
git-grep
2351792
0755
edit
dl
rm
git-hash-object
2351792
0755
edit
dl
rm
git-help
2351792
0755
edit
dl
rm
git-http-backend
1317424
0755
edit
dl
rm
git-http-fetch
1358608
0755
edit
dl
rm
git-http-push
1370912
0755
edit
dl
rm
git-imap-send
1367216
0755
edit
dl
rm
git-index-pack
2351792
0755
edit
dl
rm
git-init
2351792
0755
edit
dl
rm
git-init-db
2351792
0755
edit
dl
rm
git-instaweb
18546
0755
edit
dl
rm
git-interpret-trailers
2351792
0755
edit
dl
rm
git-log
2351792
0755
edit
dl
rm
git-ls-files
2351792
0755
edit
dl
rm
git-ls-remote
2351792
0755
edit
dl
rm
git-ls-tree
2351792
0755
edit
dl
rm
git-mailinfo
2351792
0755
edit
dl
rm
git-mailsplit
2351792
0755
edit
dl
rm
git-merge
2351792
0755
edit
dl
rm
git-merge-base
2351792
0755
edit
dl
rm
git-merge-file
2351792
0755
edit
dl
rm
git-merge-index
2351792
0755
edit
dl
rm
git-merge-octopus
2477
0755
edit
dl
rm
git-merge-one-file
3707
0755
edit
dl
rm
git-merge-ours
2351792
0755
edit
dl
rm
git-merge-recursive
2351792
0755
edit
dl
rm
git-merge-resolve
944
0755
edit
dl
rm
git-merge-subtree
2351792
0755
edit
dl
rm
git-merge-tree
2351792
0755
edit
dl
rm
git-mergetool
10303
0755
edit
dl
rm
git-mergetool--lib
8869
0644
edit
dl
rm
git-mktag
2351792
0755
edit
dl
rm
git-mktree
2351792
0755
edit
dl
rm
git-mv
2351792
0755
edit
dl
rm
git-name-rev
2351792
0755
edit
dl
rm
git-notes
2351792
0755
edit
dl
rm
git-pack-objects
2351792
0755
edit
dl
rm
git-pack-redundant
2351792
0755
edit
dl
rm
git-pack-refs
2351792
0755
edit
dl
rm
git-parse-remote
2650
0644
edit
dl
rm
git-patch-id
2351792
0755
edit
dl
rm
git-prune
2351792
0755
edit
dl
rm
git-prune-packed
2351792
0755
edit
dl
rm
git-pull
2351792
0755
edit
dl
rm
git-push
2351792
0755
edit
dl
rm
git-quiltimport
3596
0755
edit
dl
rm
git-read-tree
2351792
0755
edit
dl
rm
git-rebase
17291
0755
edit
dl
rm
git-rebase--am
2680
0644
edit
dl
rm
git-rebase--helper
2351792
0755
edit
dl
rm
git-rebase--interactive
28932
0644
edit
dl
rm
git-rebase--merge
4096
0644
edit
dl
rm
git-receive-pack
2351792
0755
edit
dl
rm
git-reflog
2351792
0755
edit
dl
rm
git-remote
2351792
0755
edit
dl
rm
git-remote-ext
2351792
0755
edit
dl
rm
git-remote-fd
2351792
0755
edit
dl
rm
git-remote-ftp
1370880
0755
edit
dl
rm
git-remote-ftps
1370880
0755
edit
dl
rm
git-remote-http
1370880
0755
edit
dl
rm
git-remote-https
1370880
0755
edit
dl
rm
git-remote-testsvn
1329520
0755
edit
dl
rm
git-repack
2351792
0755
edit
dl
rm
git-replace
2351792
0755
edit
dl
rm
git-request-pull
3698
0755
edit
dl
rm
git-rerere
2351792
0755
edit
dl
rm
git-reset
2351792
0755
edit
dl
rm
git-rev-list
2351792
0755
edit
dl
rm
git-rev-parse
2351792
0755
edit
dl
rm
git-revert
2351792
0755
edit
dl
rm
git-rm
2351792
0755
edit
dl
rm
git-send-pack
2351792
0755
edit
dl
rm
git-sh-i18n
2355
0644
edit
dl
rm
git-sh-i18n--envsubst
1304816
0755
edit
dl
rm
git-sh-prompt
16379
0644
edit
dl
rm
git-sh-setup
9256
0644
edit
dl
rm
git-shell
1309008
0755
edit
dl
rm
git-shortlog
2351792
0755
edit
dl
rm
git-show
2351792
0755
edit
dl
rm
git-show-branch
2351792
0755
edit
dl
rm
git-show-index
1304816
0755
edit
dl
rm
git-show-ref
2351792
0755
edit
dl
rm
git-stage
2351792
0755
edit
dl
rm
git-stash
15486
0755
edit
dl
rm
git-status
2351792
0755
edit
dl
rm
git-stripspace
2351792
0755
edit
dl
rm
git-submodule
23941
0755
edit
dl
rm
git-submodule--helper
2351792
0755
edit
dl
rm
git-subtree
16495
0755
edit
dl
rm
git-symbolic-ref
2351792
0755
edit
dl
rm
git-tag
2351792
0755
edit
dl
rm
git-unpack-file
2351792
0755
edit
dl
rm
git-unpack-objects
2351792
0755
edit
dl
rm
git-update-index
2351792
0755
edit
dl
rm
git-update-ref
2351792
0755
edit
dl
rm
git-update-server-info
2351792
0755
edit
dl
rm
git-upload-archive
2351792
0755
edit
dl
rm
git-upload-pack
1317120
0755
edit
dl
rm
git-var
2351792
0755
edit
dl
rm
git-verify-commit
2351792
0755
edit
dl
rm
git-verify-pack
2351792
0755
edit
dl
rm
git-verify-tag
2351792
0755
edit
dl
rm
git-web--browse
4401
0755
edit
dl
rm
git-whatchanged
2351792
0755
edit
dl
rm
git-worktree
2351792
0755
edit
dl
rm
git-write-tree
2351792
0755
edit
dl
rm
Edit:
/snap/gh/502/usr/lib/git-core/git-request-pull
(3698B)
#!/bin/sh # Copyright 2005, Ryan Anderson <ryan@michonline.com> # # This file is licensed under the GPL v2, or a later version # at the discretion of Linus Torvalds. SUBDIRECTORY_OK='Yes' OPTIONS_KEEPDASHDASH= OPTIONS_STUCKLONG= OPTIONS_SPEC='git request-pull [options] start url [end] -- p show patch text as well ' . git-sh-setup GIT_PAGER= export GIT_PAGER patch= while case "$#" in 0) break ;; esac do case "$1" in -p) patch=-p ;; --) shift; break ;; -*) usage ;; *) break ;; esac shift done base=$1 url=$2 status=0 test -n "$base" && test -n "$url" || usage baserev=$(git rev-parse --verify --quiet "$base"^0) if test -z "$baserev" then die "fatal: Not a valid revision: $base" fi # # $3 must be a symbolic ref, a unique ref, or # a SHA object expression. It can also be of # the format 'local-name:remote-name'. # local=${3%:*} local=${local:-HEAD} remote=${3#*:} pretty_remote=${remote#refs/} pretty_remote=${pretty_remote#heads/} head=$(git symbolic-ref -q "$local") head=${head:-$(git show-ref --heads --tags "$local" | cut -d' ' -f2)} head=${head:-$(git rev-parse --quiet --verify "$local")} # None of the above? Bad. test -z "$head" && die "fatal: Not a valid revision: $local" # This also verifies that the resulting head is unique: # "git show-ref" could have shown multiple matching refs.. headrev=$(git rev-parse --verify --quiet "$head"^0) test -z "$headrev" && die "fatal: Ambiguous revision: $local" # Was it a branch with a description? branch_name=${head#refs/heads/} if test "z$branch_name" = "z$headref" || ! git config "branch.$branch_name.description" >/dev/null then branch_name= fi merge_base=$(git merge-base $baserev $headrev) || die "fatal: No commits in common between $base and $head" # $head is the refname from the command line. # If a ref with the same name as $head exists at the remote # and their values match, use that. # # Otherwise find a random ref that matches $headrev. find_matching_ref=' my ($head,$headrev) = (@ARGV); my ($found); while (<STDIN>) { chomp; my ($sha1, $ref, $deref) = /^(\S+)\s+([^^]+)(\S*)$/; my ($pattern); next unless ($sha1 eq $headrev); $pattern="/$head\$"; if ($ref eq $head) { $found = $ref; } if ($ref =~ /$pattern/) { $found = $ref; } if ($sha1 eq $head) { $found = $sha1; } } if ($found) { print "$found\n"; } ' ref=$(git ls-remote "$url" | /usr/bin/perl -e "$find_matching_ref" "${remote:-HEAD}" "$headrev") if test -z "$ref" then echo "warn: No match for commit $headrev found at $url" >&2 echo "warn: Are you sure you pushed '${remote:-HEAD}' there?" >&2 status=1 fi # Special case: turn "for_linus" to "tags/for_linus" when it is correct if test "$ref" = "refs/tags/$pretty_remote" then pretty_remote=tags/$pretty_remote fi url=$(git ls-remote --get-url "$url") git show -s --format='The following changes since commit %H: %s (%ci) are available in the Git repository at: ' $merge_base && echo " $url $pretty_remote" && git show -s --format=' for you to fetch changes up to %H: %s (%ci) ----------------------------------------------------------------' $headrev && if test $(git cat-file -t "$head") = tag then git cat-file tag "$head" | sed -n -e '1,/^$/d' -e '/^-----BEGIN PGP /q' -e p echo echo "----------------------------------------------------------------" fi && if test -n "$branch_name" then echo "(from the branch description for $branch_name local branch)" echo git config "branch.$branch_name.description" echo "----------------------------------------------------------------" fi && git shortlog ^$baserev $headrev && git diff -M --stat --summary $patch $merge_base..$headrev || status=1 exit $status
Save
cmd:
run