summaryrefslogtreecommitdiff
path: root/unpack-objects.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <Johannes.Schindelin@gmx.de>2006-05-20 23:43:13 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-21 01:16:09 -0700
commit8824689884a5673f803d77cda499f83b84145a06 (patch)
tree80b6437ce3928cf4e299c7ecd52d52e3e18a6eb5 /unpack-objects.c
parentDocument that "git add" only adds non-ignored files. (diff)
downloadtgif-8824689884a5673f803d77cda499f83b84145a06.tar.xz
diff family: add --check option
Actually, it is a diff option now, so you can say git diff --check to ask if what you are about to commit is a good patch. [jc: this also would work for fmt-patch, but the point is that the check is done before making a commit. format-patch is run from an already created commit, and that is too late to catch whitespace damaged change.] Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'unpack-objects.c')
0 files changed, 0 insertions, 0 deletions