summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/git.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/make/git.mk b/make/git.mk
index 5595057..2c8c827 100644
--- a/make/git.mk
+++ b/make/git.mk
@@ -7,6 +7,7 @@ branches = $(master)
# local name of origin
origin = origin
+allbranches = $(sort $(master) $(branches))
currentbranch := $(shell git branch | grep ^\* | awk '{ print $2 }')
noncurrentbranches := $(filter-out $(currentbranch),$(branches))
@@ -15,15 +16,15 @@ localbranches := $(shell git branch | perl -ne 'm,^.\s+([a-z_]\S+)$$, && print "
update:
git fetch $(origin)
- for branch in $(filter-out $(localbranches),$(branches)); do \
- git branch $$branch $(origin)/$(branch); \
+ for branch in $(filter-out $(localbranches),$(allbranches)); do \
+ git branch $$branch $(origin)/$$branch; \
done
- git checkout $(master)
- git pull $(origin)
for branch in $(noncurrentbranches); do \
- git checkout $(branch); \
+ git checkout $$branch; \
git pull $(origin); \
done
+ git checkout $(master)
+ git pull $(origin)
init:
git init
le summary='file diffstat' width='0%'> -rw-r--r--tags/38/8b/20171130120002.7007E8841@lxp5.free-owl.de/unread0
-rw-r--r--tags/38/8b/20180822120400.E30DC1889@jawa.homebase.dk/hb0
-rw-r--r--tags/38/8b/20180822120400.E30DC1889@jawa.homebase.dk/sys0
-rw-r--r--tags/38/8b/20180822120400.E30DC1889@jawa.homebase.dk/unread0
-rw-r--r--tags/38/8b/20191012220002.B41A11CD58A@lxp5.free-owl.de/sys0
-rw-r--r--tags/38/8b/20191012220002.B41A11CD58A@lxp5.free-owl.de/unread0
-rw-r--r--tags/38/8b/20210811170053.4E930138@jawa.homebase.dk/hb0
-rw-r--r--tags/38/8b/20210811170053.4E930138@jawa.homebase.dk/inbox0
-rw-r--r--tags/38/8b/20210811170053.4E930138@jawa.homebase.dk/killed0
-rw-r--r--tags/38/8b/20210811170053.4E930138@jawa.homebase.dk/unread0
-rw-r--r--tags/38/8b/34D70982.5F284924@danbbs.dk/inbox0
-rw-r--r--tags/38/8b/34D70982.5F284924@danbbs.dk/old0
-rw-r--r--tags/38/8b/50E1C31C.5090109@yahoo.fr/debian0
-rw-r--r--tags/38/8b/8B08216C-13DD-40D8-9BA9-060F1C18A018@goldelico.com/openmoko0
-rw-r--r--tags/38/8b/8B08216C-13DD-40D8-9BA9-060F1C18A018@goldelico.com/unread0
-rw-r--r--tags/38/8b/E1kKDbc-0005tj-PO@respighi.debian.org/debian0
-rw-r--r--tags/38/8b/E1kKDbc-0005tj-PO@respighi.debian.org/inbox0
-rw-r--r--tags/38/8b/E1kKDbc-0005tj-PO@respighi.debian.org/killed0
-rw-r--r--tags/38/8b/E1kKDbc-0005tj-PO@respighi.debian.org/unread0
-rw-r--r--tags/38/8b/e9d4e0db-bfd0-be32-f321-2094cff3be85@Bjerke.dk/freedom0
-rw-r--r--tags/38/8b/f80785c5c6d8429143d5c150fbcb69e3@www.bewelcome.org/inbox0
-rw-r--r--tags/38/8b/f80785c5c6d8429143d5c150fbcb69e3@www.bewelcome.org/old0
-rw-r--r--tags/38/8b/handler.996186.D996186.163476721232667.notifdone@bugs.debian.org/debian0
-rw-r--r--tags/38/8b/handler.996186.D996186.163476721232667.notifdone@bugs.debian.org/inbox0
-rw-r--r--tags/38/8b/handler.996186.D996186.163476721232667.notifdone@bugs.debian.org/killed0
-rw-r--r--tags/38/8b/handler.996186.D996186.163476721232667.notifdone@bugs.debian.org/unread0
-rw-r--r--tags/38/8b/handler.s.U979767.16514065074137.transcript@bugs.debian.org/debian0
-rw-r--r--tags/38/8b/handler.s.U979767.16514065074137.transcript@bugs.debian.org/inbox0
-rw-r--r--tags/38/8b/handler.s.U979767.16514065074137.transcript@bugs.debian.org/killed0
-rw-r--r--tags/38/8b/handler.s.U979767.16514065074137.transcript@bugs.debian.org/unread0
38 files changed, 0 insertions, 0 deletions