summaryrefslogtreecommitdiff
path: root/git-commit-script
AgeCommit message (Collapse)AuthorFilesLines
2005-07-08Add "git-sh-setup-script" for common git shell script setupLibravatar Linus Torvalds1-7/+3
It sets up the normal git environment variables and a few helper functions (currently just "die()"), and returns ok if it all looks like a git archive. So use it something like . git-sh-setup-script || die "Not a git archive" to make the rest of the git scripts more careful and readable.
2005-06-25[PATCH] git-commit-script: get commit message from an existing one.Libravatar Junio C Hamano1-8/+67
With -m flag specified, git-commit-script takes the commit message along with author information from an existing commit. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-20Let "git commit" take arguments for files to commit.Libravatar Linus Torvalds1-0/+1
It does a "git-update-cache" on the arguments, meaning that you can commit files without doing a separate "git-update-cache". This commit was done with git commit git-commit-script for example.
2005-06-19Make "git commit" clean up after itselfLibravatar Linus Torvalds1-5/+9
Noted by Jeff.
2005-06-14Make "git commit" handle initial commits tooLibravatar Linus Torvalds1-12/+31
No need to confuse ex-CVS users with a complex initial commit sequence.
2005-06-08Remove MERGE_HEAD after committing mergeLibravatar Linus Torvalds1-1/+2
2005-06-08Make "git commit" work correctly in the presense of a manual mergeLibravatar Linus Torvalds1-2/+13
This has gotten only very light testing, but something like this is clearly necessary and did the right thing for the one case I threw at it.
2005-06-01[PATCH] git: git-commit-script ignores $GIT_DIRLibravatar Alexey Guzeev1-1/+1
2005-05-30[PATCH] Buglets fix in the new two scriptsLibravatar Junio C Hamano1-3/+1
Should be obvious... - Use $VISUAL, $EDITOR, in this order if set, and fall back on vi. - Status R, C, D, N usually are followed by number, so adjust case arms to that pattern. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-30Add "commit" helper scriptLibravatar Linus Torvalds1-0/+15
This is meant to make raw git not hugely less usable than something like raw CVS. I want to make a 1.0 release of the plumbing, and the actual commit part was just too intimidating.