summaryrefslogtreecommitdiff
path: root/pkg/git/gen.rc
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2017-08-07 10:10:02 -0700
committerMichael Forney <mforney@mforney.org>2017-08-10 19:55:43 -0700
commit6b932406db7cb90a2a39638832fef861cb85e815 (patch)
tree35f11cc4fe052e04ee2210f3dbb20e51f5275832 /pkg/git/gen.rc
parentdee95f64d26b887c6f79b86a14dffcc88ed314fd (diff)
git: Install built-in symlinks in GIT_EXEC_DIR
These are required for git aliases to work. I don't use those, but others might.
Diffstat (limited to 'pkg/git/gen.rc')
-rw-r--r--pkg/git/gen.rc217
1 files changed, 110 insertions, 107 deletions
diff --git a/pkg/git/gen.rc b/pkg/git/gen.rc
index b71cdb0b..3e3a0e5d 100644
--- a/pkg/git/gen.rc
+++ b/pkg/git/gen.rc
@@ -208,114 +208,117 @@ lib libxdiff.a xdiff/^(\
)
# src/Makefile:/^BUILTIN_OBJS.\+=
-exe git -d '$dir'/deps git.c common-main.c.o builtin/^(\
- add.c\
- am.c\
- annotate.c\
- apply.c\
- archive.c\
- bisect--helper.c\
- blame.c\
- branch.c\
- bundle.c\
- cat-file.c\
- check-attr.c\
- check-ignore.c\
- check-mailmap.c\
- check-ref-format.c\
- checkout-index.c\
- checkout.c\
- clean.c\
- clone.c\
- column.c\
- commit-tree.c\
- commit.c\
- config.c\
- count-objects.c\
- credential.c\
- describe.c\
- diff-files.c\
- diff-index.c\
- diff-tree.c\
- diff.c\
- difftool.c\
- fast-export.c\
- fetch-pack.c\
- fetch.c\
- fmt-merge-msg.c\
- for-each-ref.c\
- fsck.c\
- gc.c\
- get-tar-commit-id.c\
- grep.c\
- hash-object.c\
- help.c\
- index-pack.c\
- init-db.c\
- interpret-trailers.c\
- log.c\
- ls-files.c\
- ls-remote.c\
- ls-tree.c\
- mailinfo.c\
- mailsplit.c\
- merge.c\
- merge-base.c\
- merge-file.c\
- merge-index.c\
- merge-ours.c\
- merge-recursive.c\
- merge-tree.c\
- mktag.c\
- mktree.c\
- mv.c\
- name-rev.c\
- notes.c\
- pack-objects.c\
- pack-redundant.c\
- pack-refs.c\
- patch-id.c\
- prune-packed.c\
- prune.c\
- pull.c\
- push.c\
- read-tree.c\
- rebase--helper.c\
- receive-pack.c\
- reflog.c\
- remote.c\
- remote-ext.c\
- remote-fd.c\
- repack.c\
- replace.c\
- rerere.c\
- reset.c\
- rev-list.c\
- rev-parse.c\
- revert.c\
- rm.c\
- send-pack.c\
- shortlog.c\
- show-branch.c\
- show-ref.c\
- stripspace.c\
- submodule--helper.c\
- symbolic-ref.c\
- tag.c\
- unpack-file.c\
- unpack-objects.c\
- update-index.c\
- update-ref.c\
- update-server-info.c\
- upload-archive.c\
- var.c\
- verify-commit.c\
- verify-pack.c\
- verify-tag.c\
- worktree.c\
- write-tree.c\
-) libgit.a.d
+builtins=(\
+ add\
+ am\
+ annotate\
+ apply\
+ archive\
+ bisect--helper\
+ blame\
+ branch\
+ bundle\
+ cat-file\
+ check-attr\
+ check-ignore\
+ check-mailmap\
+ check-ref-format\
+ checkout-index\
+ checkout\
+ clean\
+ clone\
+ column\
+ commit-tree\
+ commit\
+ config\
+ count-objects\
+ credential\
+ describe\
+ diff-files\
+ diff-index\
+ diff-tree\
+ diff\
+ difftool\
+ fast-export\
+ fetch-pack\
+ fetch\
+ fmt-merge-msg\
+ for-each-ref\
+ fsck\
+ gc\
+ get-tar-commit-id\
+ grep\
+ hash-object\
+ help\
+ index-pack\
+ init-db\
+ interpret-trailers\
+ log\
+ ls-files\
+ ls-remote\
+ ls-tree\
+ mailinfo\
+ mailsplit\
+ merge\
+ merge-base\
+ merge-file\
+ merge-index\
+ merge-ours\
+ merge-recursive\
+ merge-tree\
+ mktag\
+ mktree\
+ mv\
+ name-rev\
+ notes\
+ pack-objects\
+ pack-redundant\
+ pack-refs\
+ patch-id\
+ prune-packed\
+ prune\
+ pull\
+ push\
+ read-tree\
+ rebase--helper\
+ receive-pack\
+ reflog\
+ remote\
+ remote-ext\
+ remote-fd\
+ repack\
+ replace\
+ rerere\
+ reset\
+ rev-list\
+ rev-parse\
+ revert\
+ rm\
+ send-pack\
+ shortlog\
+ show-branch\
+ show-ref\
+ stripspace\
+ submodule--helper\
+ symbolic-ref\
+ tag\
+ unpack-file\
+ unpack-objects\
+ update-index\
+ update-ref\
+ update-server-info\
+ upload-archive\
+ var\
+ verify-commit\
+ verify-pack\
+ verify-tag\
+ worktree\
+ write-tree\
+)
+exe git -d '$dir'/deps git.c common-main.c.o builtin/$builtins.c libgit.a.d
file bin/git '$outdir'/git 755
+for(name in $builtins cherry cherry-pick format-patch fsck-objects init merge-subtree show stage status whatchanged)
+ sym libexec/git-core/git-$name ../../bin/git
fn x {
name=$1