/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make some strings const
[git/git.git]
/
git.c
diff --git
a/git.c
b/git.c
index
94505c9
..
159fec0
100644
(file)
--- a/
git.c
+++ b/
git.c
@@
-16,7
+16,8
@@
static void prepend_to_path(const char *dir, int len)
{
- char *path, *old_path = getenv("PATH");
+ const char *old_path = getenv("PATH");
+ char *path;
int path_len = len;
if (!old_path)