summaryrefslogtreecommitdiff
path: root/show-files.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename "show-files" to "ls-files"Linus Torvalds2005-04-301-260/+0
| | | | As suggested by Nicolas Pitre
* [PATCH] compat: missing dirent.d_type fieldEdgar Toernig2005-04-301-1/+1
| | | | | Not everybody has "d_type".
* [PATCH] add short options to show-filesNicolas Pitre2005-04-281-37/+16
| | | | | | | | | | | | The show-files long options are cumbersome to type. This patch adds equivalent short options. Also add missing "unmerged" to usage string. Finally reduce the number of lines for argument parsing in half. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Give show-files the ability to process exclusion pattern.Nicolas Pitre2005-04-281-8/+97
| | | | | | | | | | | | | This can be used with the famous dontdiff file as follows to find out about uncommitted files just like dontdiff is used with the diff command: show-files --others --exclude-from=dontdiff and the exclude list can be reversed with the --ignore switch. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] introduce xmalloc and xreallocChristopher Li2005-04-261-2/+2
| | | | | | | | Introduce xmalloc and xrealloc to die gracefully with a descriptive message when out of memory, rather than taking a SIGSEGV. Signed-off-by: Christopher Li<chrislgit@chrisli.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Add support for a "GIT_INDEX_FILE" environment variable.Linus Torvalds2005-04-211-1/+0
| | | | | | | | | We use that to specify alternative index files, which can be useful if you want to (for example) generate a temporary index file to do some specific operation that you don't want to mess with your main one with. It defaults to the regular ".git/index" if it hasn't been specified.
* Add "--unmerged" flag to "show-files", which does what the name implies.Linus Torvalds2005-04-161-1/+10
| | | | | The flag also implies "--stage", since unmerged file information doesn't make sense without the full output.
* [PATCH] Add --stage to show-files for new stage dircache.Junio C Hamano2005-04-161-4/+18
| | | | | | | | | This adds --stage option to show-files command. It shows file-mode, SHA1, stage and pathname. Record separator follows the usual convention of -z option as before. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Add -z option to show-filesJunio C Hamano2005-04-151-3/+9
| | | | | | | | This adds NUL-terminated output (-z) to show-files. This is necessary for merge-trees script to deal with filenames with embedded newlines. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Whitespace FixesIngo Molnar2005-04-131-1/+1
| | | | | | | | Trivial whitespace fixes. From: Ingo Molnar <mingo@elte.hu> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Petr Baudis <pasky@ucw.cz>
* [PATCH] Typofix in git/show-files.Junio C Hamano2005-04-131-1/+1
| | | | | | | Fixes a typo in usage string. From: Junio C Hamano <junkio@cox.net> Signed-off-by: Petr Baudis <pasky@ucw.cz>
* Add "show-files" command to show the list of managed (or non-managed) files.Linus Torvalds2005-04-111-0/+164
You want things like this to check in a patch..