summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-06 00:08:01 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-02-07 07:20:32 (GMT)
commit5a798fb57f788692467b1a11416dd5ebff0d31ae (patch)
tree500bc21b8bccfeba32742a6a7ce735e3e38c2a16 /Documentation
parent130fcca63fe8e7e087e7419907e018cbbaf434a3 (diff)
downloadgit-5a798fb57f788692467b1a11416dd5ebff0d31ae.zip
git-5a798fb57f788692467b1a11416dd5ebff0d31ae.tar.gz
git-5a798fb57f788692467b1a11416dd5ebff0d31ae.tar.bz2
git-commit: finishing touches.
Introduce --only flag to allow the new "partial commit" semantics when paths are specified. The default is still the traditional --include semantics. Once peoples' fingers and scripts that want the traditional behaviour are updated to explicitly say --include, we could change it to either default to --only, or refuse to operate without either --only/--include when paths are specified. This also fixes a couple of bugs in the previous round. Namely: - forgot to save/restore index in some cases. - forgot to use the temporary index to show status when '--only paths...' semantics was used. - --author did not take precedence when reusing an existing commit. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions