Commit | Line | Data |
1f99022a |
1 | [remote "ghpr"] |
2 | url = https://github.com/dbsrgits/DBIx-Class |
3 | pushurl = DISALLOWED |
4 | fetch = +refs/pull/*/head:refs/remotes/ghpr/* |
5 | |
6 | [remote "historic"] |
7 | url = git://git.shadowcat.co.uk/dbsrgits/DBIx-Class-Historic.git |
8 | pushurl = ssh://dbsrgits@git.shadowcat.co.uk/DBIx-Class-Historic.git |
9 | fetch = +refs/heads/*:refs/remotes/historic/* |
10 | |
11 | [remote "debian"] |
12 | url = git://anonscm.debian.org/pkg-perl/packages/libdbix-class-perl.git |
13 | pushurl = DISALLOWED |
14 | fetch = +refs/heads/master:refs/remotes/debian/master |
15 | tagopt = --no-tags |
16 | |
17 | [alias] |
18 | # Lines after gitk in order: |
19 | # |
20 | # --exclude all refs matching the for loop |
21 | # all known refs (branches/tags) excepth what we excluded |
22 | # add all individual stashes |
23 | # add all github PR heads without a matching historic/ghpr/* entry |
24 | # |
25 | # the /bin/true at the end is there to eat away any args to 'vis' |
26 | # ( otherwise they will be treated as commands to execute after the & ) |
27 | vis = "!gitk \ |
28 | $( for r in historic/ghpr ghpr debian ; do echo "--exclude=refs/remotes/$r/*" ; done ) \ |
29 | --all \ |
30 | $(git stash list | cut -f 1 -d ':') \ |
31 | $(/bin/bash -c \"/usr/bin/comm -23 \ |
32 | <(git for-each-ref --sort=objectname --format='%(objectname:short)' refs/remotes/ghpr/ ) \ |
33 | <(git for-each-ref --sort=objectname --format='%(objectname:short)' refs/remotes/historic/ghpr/ refs/remotes/origin/ ) \ |
34 | \") \ |
35 | \"$@\" & /bin/true" |
36 | |
37 | |
38 | # same but only for GitHub PRs |
39 | prvis = "!gitk \ |
40 | $(/bin/bash -c \"/usr/bin/comm -23 \ |
41 | <(git for-each-ref --sort=objectname --format='%(objectname:short)' refs/remotes/ghpr/ ) \ |
42 | <(git for-each-ref --sort=objectname --format='%(objectname:short)' refs/remotes/historic/ghpr/ refs/remotes/origin/ ) \ |
43 | \") \ |
44 | \"$@\" & /bin/true" |