/
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]
/
builtin-rev-parse.c
diff --git
a/builtin-rev-parse.c
b/builtin-rev-parse.c
index
b27a6d3
..
5f5ade4
100644
(file)
--- a/
builtin-rev-parse.c
+++ b/
builtin-rev-parse.c
@@
-329,7
+329,7
@@
int cmd_rev_parse(int argc, const char **argv, char **envp)
dotdot = strstr(arg, "..");
if (dotdot) {
unsigned char end[20];
- char *next = dotdot + 2;
+ c
onst c
har *next = dotdot + 2;
const char *this = arg;
*dotdot = 0;
if (!*next)