Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
read_early_config(): really discover .git/
[gitweb.git]
/
line-range.c
diff --git
a/line-range.c
b/line-range.c
index de4e32f9424fbc0770756c3f61751fc69bfeb17e..323399d16cfa828adce913c9ff994e860ce2e7a5 100644
(file)
--- a/
line-range.c
+++ b/
line-range.c
@@
-269,8
+269,7
@@
int parse_range_arg(const char *arg, nth_line_fn_t nth_line_cb,
return -1;
if (*begin && *end && *end < *begin) {
- long tmp;
- tmp = *end; *end = *begin; *begin = tmp;
+ SWAP(*end, *begin);
}
return 0;