Rename path_list to string_list
commitdbc0587c0058883c898b64c64840e0a92202340c
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 1 Mar 2008 11:03:45 +0000 (1 11:03 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 2 Apr 2008 13:06:10 +0000 (2 15:06 +0200)
tree0928ca5f3d5e2c91042dcd3b5eb229a14c91afbf
parentaaf21475862de0ebc7ec68c8d8ede25dc32e7c9e
Rename path_list to string_list

The name path_list was correct for the first usage of that data structure,
but it really is a general-purpose string list.

$ perl -i -pe 's/path-list/string-list/g' $(git grep -l path-list)
$ perl -i -pe 's/path_list/string_list/g' $(git grep -l path_list)
$ git mv path-list.h string-list.h
$ git mv path-list.c string-list.c
$ perl -i -pe 's/has_path/has_string/g' $(git grep -l has_path)
$ perl -i -pe 's/path/string/g' string-list.[ch]

... and then fix all users of string-list to access the member "string"
instead of "path"...

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
24 files changed:
Documentation/CodingGuidelines
Documentation/technical/api-path-list.txt [deleted file]
Documentation/technical/api-string-list.txt [new file with mode: 0644]
Makefile
builtin-blame.c
builtin-commit.c
builtin-fast-export.c
builtin-fetch.c
builtin-mailsplit.c
builtin-merge-recursive.c
builtin-mv.c
builtin-remote.c
builtin-rerere.c
builtin-shortlog.c
builtin-show-ref.c
diff-lib.c
mailmap.c
mailmap.h
path-list.c [deleted file]
path-list.h [deleted file]
reflog-walk.c
shortlog.h
string-list.c [new file with mode: 0644]
string-list.h [new file with mode: 0644]