summaryrefslogtreecommitdiff
path: root/git-status-script
AgeCommit message (Collapse)AuthorFilesLines
2005-09-02scripts: equality test '==' is not portable.Libravatar Junio C Hamano1-3/+3
On NetBSD 3 we trigger an error: [: ==: unexpected operator Double-equal is accepted by bash built-in '[' and bash(1) suggests using '=' for strict POSIX compliance (test(1) from coreutils does not mention '=='). Eradicate their uses everywhere. [jc: Somebody with a pseudonym kindly sent a message to let me know about the problem privately; I do not have access to a NetBSD box.] Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-08-31Fix git-status when HEAD is invalid.Libravatar Junio C Hamano1-4/+16
It tried to do git-diff-cache against HEAD, of course. Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-08-28Teach git-status-script about git-ls-files --othersLibravatar Junio C Hamano1-2/+30
When there is non-empty $GIT_DIR/info/exclude file, use it along with .gitignore per-directory exclude pattern files (which was a convention agreed on the list while ago and is compatible with Cogito) to generate a list of ignored files as well. Signed-off-by: Junio C Hamano <junkio@cox.net> (cherry picked from d330948a5ff0df55c2f12627c0583b4e16f1ea4d commit)
2005-08-28Show the branch name more prominently in "git status".Libravatar Junio C Hamano1-6/+5
When not working on "master" branch, remind the user at the beginning of the status message, not at the end. Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-08-15Show which branch you are on in git-status output.Libravatar Junio C Hamano1-1/+9
When not on the "master" branch, show which branch we are working on in the git-status message. Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-07-27[PATCH] git-status-script was missed during the conversion from N -> ALibravatar Ryan Anderson1-1/+1
git-status-script was missed during the conversion from "N" to "A" as the new-file marker flag. Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-06-17Use "-M" instead of "-C" for "git diff" and "git status"Libravatar Linus Torvalds1-1/+1
The "C" in "-C" may stand for "Cool", but it's also pretty slow, since right now it leaves all unmodified files to be tested even if there are no new files at all. That just ends up being unacceptably slow for big projects, especially if it's not all in the cache.
2005-05-30[PATCH] Buglets fix in the new two scriptsLibravatar Junio C Hamano1-7/+7
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/+38
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.