Skip to content

Commit c188935

Browse files
committed
update TODO.md
1 parent 2f50609 commit c188935

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shell/TODO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ of template, so it that can be passed on.
88
- [ ] Figure out how to switch between staged and not, with `--cached`. Like passing a param to the shell script and having two aliases. Or to have it as pass of the shell script to fallback to all if anything is staged. Or just control with filenames e.g. `git c .` or `git c package*` - oh wait, the shell script doesn't look at what is passed to `git commit`, only what is staged or not.
99
- [ ] Fix bug where message is on modified and staged but only staged is committed with gacm or acm
1010

11-
If the flag is omitted, then the standard `git status` logic is followed:
11+
If the flag is omitted, then the standard `git commit` logic is followed:
1212
look for staged changes and use them, otherwise use unstaged changes.
1313
there's a problem - commit does not take cached flag - but it will use implied staged or not. so do not pass through.
1414
BUT could look at advanced mode of pass through names of files to commit IF they are handled by status and commit, but using manual git add is good enough probably. esp for untracked files which need add anyway.

0 commit comments

Comments
 (0)