[PATCH 1/4] split core-git.txt and update
[git.git] / Documentation / git-check-files.txt
1 git-check-files(1)
2 ==================
3 v0.1, May 2005
4
5 NAME
6 ----
7 git-check-files - Verify a list of files are up-to-date
8
9
10
11 SYNOPSIS
12 --------
13 'git-check-files' <file>...
14
15 DESCRIPTION
16 -----------
17 Check that a list of files are up-to-date between the filesystem and
18 the cache. Used to verify a patch target before doing a patch.
19
20 Files that do not exist on the filesystem are considered up-to-date
21 (whether or not they are in the cache).
22
23 Emits an error message on failure:
24
25 preparing to update existing file <file> not in cache::
26           <file> exists but is not in the cache
27
28 preparing to update file <file> not uptodate in cache::
29           <file> on disk is not up-to-date with the cache
30
31 Exits with a status code indicating success if all files are
32 up-to-date.
33
34 see also: link:git-update-cache.html[git-update-cache]
35
36
37 Author
38 ------
39 Written by Linus Torvalds <torvalds@osdl.org>
40
41 Documentation
42 --------------
43 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
44
45 GIT
46 ---
47 Part of the link:git.html[git] suite
48