mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
2380532ff5
prevent accidental merges and clobbers of work in progress
11 lines
230 B
Bash
Executable file
11 lines
230 B
Bash
Executable file
#!/bin/rc
|
|
|
|
rfork en
|
|
|
|
cd /
|
|
if(! test -d .git)
|
|
bind -ac /dist/plan9front /
|
|
if(! ~ `{git/branch} heads/front)
|
|
>[1=2] echo sysupdate: must be on "front" branch to pull
|
|
if not
|
|
git/pull -u gits://git.9front.org/plan9front/plan9front
|