diff options
| author | Junio C Hamano <gitster@pobox.com> | 2011-05-09 21:34:04 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2011-05-10 12:11:01 -0700 |
| commit | 7c5f3cc4a5680e23b8aa378ed9b655a1779ee881 (patch) | |
| tree | b377208b26e47dbca5a74171b45684f3cdaf0e2c /gitweb/static/js/javascript-detection.js | |
| parent | pathspec: drop "lone : means no pathspec" from get_pathspec() (diff) | |
| download | git-7c5f3cc4a5680e23b8aa378ed9b655a1779ee881.tar.gz git-7c5f3cc4a5680e23b8aa378ed9b655a1779ee881.zip | |
grep: use get_pathspec() correctly
When there is no remaining string in argv, get_pathspec(prefix, argv)
will return a two-element array that has prefix as the first element,
so there is no need to re-roll that logic in the code that uses
get_pathspec().
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/static/js/javascript-detection.js')
0 files changed, 0 insertions, 0 deletions
