summaryrefslogtreecommitdiff
path: root/sys/src/cmd/git/commit
AgeCommit message (Collapse)Author
2023-02-19mkfiles: add 'mk test' supportOri Bernstein
9front has several tests scattered throughout the source, as well as more tests in an external 'regress' repository. Many of these tests are broken, because there is no easy way to build and track all of them. This pulls in several tests from different sources, deletes the broken tests, tests with missing data, and adds a single command that can be run from the root of the src directory to test our system. The hope is that as we develop new code, we add more tests, and eventually start running the tests on every commit. Please enter the commit message for your changes. Lines starting
2022-07-31git/commit: fix typo in if statementOri Bernstein
2022-01-09git/commit: squelch error when run outside repositoryOri Bernstein
when running outside of a repository, we would try to remove '$msgfile.tmp', but we had never actually set '$msgfile'. the error is harmless, but annoying.
2021-09-03git: separate author and committerOri Bernstein
Git has the ability to track the person who creates a commit separately from the person who wrote the commit. For git9, we ignored this feature. However, as we start using git/import more, it will be useful to figure out who imported a commit, as well as who wrote it. This change adds support for seeing this information in git, as well as setting the author and committer separately in git/import.
2021-08-23git/commit: remove trailing 'subst -g'Ori Bernstein
the subst utility no longer supports a '-g' flag, but this was left behind in commit; this means that the lines listing modified files were not correctly commented in the commit header. This is mostly harmless, but when using an editor like sam to edit the commit message, the modified lines would have to be removed manually.
2021-06-05git/branch: merge correct set of filesglenda
we were switching branches before we got the full list of modified files, which could garble what we were trying to merge.
2021-06-05git: handle absolute paths betterOri Bernstein
we were catting $gitrel onto absolute paths. stop it.
2021-05-30git/fs: move mount point to $repo/.git/fsOri Bernstein
Moving the mount point to within the repo directory means that we can have multiple git repos mounted at once with no conflict.
2021-05-16git: got git?Ori Bernstein
Add a snapshot of git9 to 9front.