Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | setup_revisions(): take pathspec from command line and --stdin correctly | Junio C Hamano | 2011-05-11 | 1 | -0/+17 |
| | | | | | | | | | | | | | When the command line has "--" disambiguator, we take the remainder of argv[] as "prune_data", but when --stdin is given at the same time, we need to append to the existing prune_data and end up attempting to realloc(3) it. That would not work. Fix it by consistently using append_prune_data() throughout the input processing. Also avoid counting the number of existing paths in the function over and over again. Signed-off-by: Junio C Hamano <gitster@pobox.com> | ||||
* | Add trivial tests for --stdin option to log family | Junio C Hamano | 2009-11-23 | 1 | -0/+61 |
Signed-off-by: Junio C Hamano <gitster@pobox.com> |