commit - 294f22a4705f221b9f5cf0d8df0dc7cf7626b886
commit + 0edb04685bfac6ba0373398f3e9ee561dbaae6bf
blob - 8cec190c8b6b4b7d48c44c3560501b73a0841dbd
blob + 9f3af58737724725f9579e1bcc6ac1ae5732abdc
--- README.md
+++ README.md
This is a port of many Plan 9 libraries and programs to Unix.
-* Installation
+Installation
+------------
To install, run ./INSTALL. It builds mk and then uses mk to
run the rest of the installation.
For more details, see install(1), at install.txt in this directory
and at http://swtch.com/plan9port/man/man1/install.html.
-* Documentation
+Documentation
+-------------
See http://swtch.com/plan9port/man/ for more documentation.
(Documentation is also in this tree, but you need to run
Intro(1) contains a list of man pages that describe new features
or differences from Plan 9.
-* Helping out
+Helping out
+-----------
If you'd like to help out, great! The TODO file contains a small list.
If you port this code to other architectures, please share your changes
so others can benefit.
-Please use diff -u or CVS (see below) to prepare patches.
+Please use codereview(1) to prepare patches.
-* CVS
+Git
+---
-You can use CVS to keep your local copy up-to-date as we make
-changes and fix bugs. See the cvs(1) man page here ("9 man cvs")
-for details on using cvs.
+You can use Git to keep your local copy up-to-date as we make
+changes and fix bugs. See the git(1) man page here ("9 man git")
+for details on using Git.
-* Contact
+Contact
+-------
-Russ Cox <rsc@swtch.com>
+* Mailing list: http://groups.google.com/group/plan9port-dev
+* Issue tracker: http://code.swtch.com/plan9port/issues/
+* Submitting changes: http://swtch.com/go/codereview
+
+* Russ Cox <rsc@swtch.com>
blob - 6fd3e11a7e22601d455f28cb87b502aec8e5b21c
blob + 6606a5c6c24fbe46c32360d42d29d98275be2948
--- bin/codereview
+++ bin/codereview
if($show) {
echo '% git branch '$branch' && git commit || git branch -d '$branch >[1=2]
}
- git branch $branch && git checkout $branch && git commit $* || git branch -d $branch
+ git branch $branch && git checkout $branch && git commit -a $* || git branch -d $branch
case commit
shift
$git commit $*
exit $status
}
- $git commit --amend $*
+ $git commit --amend -a $*
exit $status
case upload
if(! 9 grep 'machine plan9port-review.googlesource.com' $HOME/.netrc >/dev/null >[2=1]) {
echo 'codereview: warning: cannot find plan9port-review in netrc' >[1=2]
}
+ if(! git status | 9 grep 'nothing to commit, working directory clean' >/dev/null) {
+ echo 'codereview: warning: local changes not yet committed' >[1=2]
+ git status
+ }
$git push https://plan9port-review.googlesource.com/plan9 HEAD:refs/for/master >[2=1] | 9 sed 's/.*
//'
blob - 0b713c45d0f8f03c66c140d30564018641be0584
blob + ec528b222ceab4c6f2459e884023c3509372b85a
--- man/man1/codereview.1
+++ man/man1/codereview.1
]
.B create
.I name
-[
-.B -a
-]
.PP
.B codereview
[
.B -v
]
.B commit
-[
-.B -a
-]
.PP
.B codereview
[
using
.I codereview
.IR create .
+Once a feature branch is created, files can still be edited, but they must then be
+incorporated into the change by using
+.I codereview
+.IR commit .
.I Git
requires that changes be added to a ``staging area'' before the initial commit,
using commands such as
.I git
.IR rm .
The
-.B -a
-option causes
.I codereview
.I create
-to add all local modifications to the staging area as part of the initial commit.
-.PP
-Once a feature branch is created, files can still be edited, but they must then be
-incorporated into the change by using
+and
.I codereview
-.IR commit .
+.I commit
+commands
+automatically move all local modifications to the staging area
+as part of the commit,
+using
+.I git
+.I commit
+.IR -a .
.PP
If other changes have been committed since the feature branch was created,
.I codereview