repo.or.cz
/
git
/
mjg.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Merge branch 'rs/use-isxdigit'
2015-03-10
René Scharfe
us
e
isxdigit() for checki
n
g i
f
a ch
a
racter is a h
e
xad
e
c
i
m
al
.
.
.
commit
|
commitdiff
|
tree
2015-03-10
René Scharfe
daemon
:
deglobalize hostname information
commit
|
commitdiff
|
tree
2015-03-10
R
e
né Scharf
e
daemon:
u
se strbuf for
h
os
t
name
info
commit
|
commitdiff
|
tree
2015-03-05
René Scharfe
z
lib
:
initialize git_zstrea
m
in git_deflate_init{,_gzip
.
.
.
commit
|
commitdiff
|
tree
2015-03-05
R
e
né Sc
h
a
rfe
archiv
e
-zip:
mark text fil
e
s in archives
commit
|
commitdiff
|
tree
2015-02-22
R
e
né Scharfe
sha1_name: use strl
c
p
y() to copy s
t
ring
s
commit
|
commitdiff
|
tree
2015-02-22
René
S
charfe
pr
e
tty:
u
se
s
tarts_w
i
th(
)
to check for a prefix
commit
|
commitdiff
|
tree
2015-02-22
R
en
é
Sch
a
r
fe
for-each-ref
:
use skip_prefix() to
avoid duplicat
e
.
.
.
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
connect:
u
se st
r
c
mp() f
o
r st
r
i
ng co
m
pariso
n
commit
|
commitdiff
|
tree
2015-02-17
Ren
é
Scharf
e
daemon: use
cal
l
b
ack
t
o
b
uild i
n
terpol
a
te
d
path
commit
|
commitdiff
|
tree
2015-02-17
R
e
n
é
Sch
a
rfe
daemon:
look up client-
s
uppli
e
d hostname
l
azily
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
r
efs:
p
l
u
g
strbu
f
leak in lo
c
k_ref_sha1_basic()
commit
|
commitdiff
|
tree
2014-12-29
René Schar
f
e
tra
n
s
port: simplify
d
upl
i
cating a subs
t
ring in transport_get
.
.
.
commit
|
commitdiff
|
tree
2014-12-29
René S
c
harfe
merge: release strbuf afte
r
use
in
su
g
gest_conflicts()
commit
|
commitdiff
|
tree
2014-12-29
René
S
charfe
comm
i
t-tree: simplify parsing o
f
option -S using s
k
i
p_pr
e
fix()
commit
|
commitdiff
|
tree
2014-12-12
R
e
n
é
S
charfe
use strbu
f
_complete_line
(
) fo
r
a
d
ding a new
l
ine if
.
.
.
commit
|
commitdiff
|
tree
2014-11-17
R
ené Sc
h
ar
f
e
use labs() for va
r
iabl
e
s o
f
type
l
o
n
g inste
a
d of abs()
commit
|
commitdiff
|
tree
2014-11-17
R
ené Schar
f
e
use
la
b
s() for variab
l
es of type long instead of a
b
s
(
)
commit
|
commitdiff
|
tree
2014-11-10
René Sc
h
ar
f
e
run
-
command:
use voi
d
t
o declare that functions take
.
.
.
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
u
se ar
g
s
mem
b
er of struct child_process
commit
|
commitdiff
|
tree
2014-11-10
René Sc
h
arfe
trailer:
u
se CHI
L
D_PROCE
S
S_INIT in ap
p
ly_command
(
)
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
ap
i
-run-co
m
mand: ad
d
missing list item marker
commit
|
commitdiff
|
tree
2014-10-28
R
e
n
é
Scharfe
use
c
h
i
ld_pr
o
cess_in
i
t(
)
to
i
n
i
tia
l
iz
e
stru
c
t child_process
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
receive-pack: avoid minor leak in case start_async
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
grep
:
add c
o
l
o
r
.
g
r
ep
.
ma
t
c
h
c
on
t
ext an
d
color
.
gr
e
p
.
matc
h
selected
commit
|
commitdiff
|
tree
2014-10-19
Re
n
é
S
charfe
use env_
a
rray memb
e
r
o
f
struct
child_process
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
run-command: add env_arr
a
y, an opt
i
onal argv_array
.
.
.
commit
|
commitdiff
|
tree
2014-10-13
R
ené Scharfe
receive-pack:
plug m
i
nor memory le
a
k i
n
unpack(
)
commit
|
commitdiff
|
tree
2014-10-07
René Sch
a
rfe
u
se skip_prefix() to avo
i
d more
m
agic numbers
commit
|
commitdiff
|
tree
2014-10-07
Ren
é
Scharfe
m
ailsp
l
it: rem
o
ve unnecessary unlink(2) call
commit
|
commitdiff
|
tree
2014-10-07
René Scha
r
fe
bundle: plug minor memory leak i
n
is_tag_in_date_range
(
)
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daemon: remove
write-only var
i
ab
l
e maxfd
commit
|
commitdiff
|
tree
2014-10-01
René Scha
r
f
e
d
a
emon
:
fi
x
erro
r
mes
s
age after bind()
commit
|
commitdiff
|
tree
2014-10-01
René S
c
har
f
e
daemon: handle
gethostbyname
(
) error
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
sha1-lo
o
kup: handle duplicates
i
n sha1_pos()
commit
|
commitdiff
|
tree
2014-10-01
R
e
né Schar
f
e
sh
a
1-array:
a
dd test-sha1-arra
y
and
b
asic te
s
ts
commit
|
commitdiff
|
tree
2014-09-30
R
e
n
é Sch
a
rfe
t0090:
a
v
o
i
d
passing e
m
pty string
t
o p
r
intf %
d
commit
|
commitdiff
|
tree
2014-09-22
René
Scharfe
remote: simpli
f
y m
a
tch_name_with_pa
t
tern() using st
r
buf
commit
|
commitdiff
|
tree
2014-09-22
René Scharfe
graph: si
m
plif
y
graph_padding_line()
commit
|
commitdiff
|
tree
2014-09-18
Re
n
é Scharfe
use
R
EALLOC_ARRAY for
c
h
angi
n
g the allocat
i
on size
.
.
.
commit
|
commitdiff
|
tree
2014-09-18
R
e
né
Scharfe
add macro REALLOC_ARR
A
Y
commit
|
commitdiff
|
tree
2014-09-15
René Sc
h
arfe
repack:
call p
r
une_p
a
cked
_
objects() and update_serve
r
_
i
nfo
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
René Schar
f
e
strbuf: u
s
e str
b
uf_add
c
hars(
)
for a
d
d
ing a char mul
t
ipl
e
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
Ren
é
Schar
f
e
strb
u
f
:
e
x
port s
t
rbuf
_
add
c
hars(
)
commit
|
commitdiff
|
tree
2014-09-08
René
S
ch
a
rfe
trace: correct
trace_s
t
r
buf() paramet
e
r type for !
H
A
V
E_VARI
A
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
Re
n
é Sc
h
arfe
ima
p
-send: simplify v_is
s
ue
_
im
a
p_cmd()
and
get_cmd_resu
l
t
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Sc
h
arfe
merge-tr
e
e:
rem
o
ve
u
nused df_
c
onfli
c
t a
r
gume
n
ts
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
http-walker:
sim
p
lify pro
c
e
s
s_altern
a
tes_response(
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
config: simplify
g
it_config_includ
e
()
commit
|
commitdiff
|
tree
2014-09-02
René
Scharfe
pac
k
-w
r
ite: si
m
plify index_p
a
ck_lockfile
u
sing skip_pre
f
ix
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
connect: si
m
plify check_
r
e
f
() using skip_prefix() and
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use strbuf_add_absolute_path() to add absolute paths
commit
|
commitdiff
|
tree
2014-08-26
Ren
é
Scharfe
abspath: convert
abso
l
ute_path() to
s
tr
b
uf
commit
|
commitdiff
|
tree
2014-08-26
Re
n
é
Scharfe
use xg
e
tcwd() to set $GIT_DIR
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use xgetcwd() to get the curren
t
direct
o
ry or
d
i
e
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
wrapper: add x
g
etcwd()
commit
|
commitdiff
|
tree
2014-08-26
René Sc
h
a
rfe
a
b
spat
h
: convert rea
l
_
p
at
h
_internal() to strbuf
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
a
b
spath: us
e
s
t
r
buf_getcw
d
(
)
to remember original work
i
ng
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
René
Scharfe
setup: convert
s
etup_git_
d
irectory_gen
t
ly_1 et a
l
.
.
.
.
commit
|
commitdiff
|
tree
2014-08-25
R
e
né Sc
h
a
r
fe
w
alker: avoid quadratic
l
i
s
t insertion i
n
mark_complete
commit
|
commitdiff
|
tree
2014-08-25
René
Scharfe
sha1_name
:
avoid quadratic list insertion in handle_
o
ne_
r
ef
commit
|
commitdiff
|
tree
2014-08-20
René Sc
h
arfe
run-comman
d
: inline p
r
epare_run_comma
n
d_v_opt()
commit
|
commitdiff
|
tree
2014-08-20
René Sc
h
arfe
run-
c
ommand:
call
r
un_
c
o
mmand
_
v_
o
pt_cd_env() instead
.
.
.
commit
|
commitdiff
|
tree
2014-08-20
René Scharf
e
run-command
:
intro
d
uce child_process_init()
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
ru
n
-command: introduce C
H
ILD_P
R
OCESS_INIT
commit
|
commitdiff
|
tree
2014-08-18
René Scharfe
turn pat
h
ma
c
r
o
s
i
nt
o
inlin
e
fun
c
tion
commit
|
commitdiff
|
tree
2014-08-18
R
e
né Scha
r
f
e
cl
e
an
:
u
s
e
f(
v
oid) instead of f() t
o
declare a pointer
.
.
.
commit
|
commitdiff
|
tree
2014-08-10
René Scharfe
read-cac
h
e
:
c
heck f
o
r
l
e
a
ding symlinks w
h
en refresh
i
ng
.
.
.
commit
|
commitdiff
|
tree
2014-07-28
R
e
né Scharf
e
init:
avoid s
u
perfluous real_p
a
th()
calls
commit
|
commitdiff
|
tree
2014-07-28
Ren
é
Scharfe
unix-sockets: use strbuf_getcwd()
commit
|
commitdiff
|
tree
2014-07-28
René Scharfe
strbu
f
: add strbuf_
g
etcwd()
commit
|
commitdiff
|
tree
2014-07-21
Re
n
é
Scharfe
use xmemdupz() to alloca
t
e
copies of st
r
i
n
gs giv
e
n
.
.
.
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
us
e
xcalloc()
t
o allocat
e
zero-initialized memory
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
unix-socket: remove
s
tale socket
before calling
c
hdir()
commit
|
commitdiff
|
tree
2014-07-18
René Sc
h
arfe
remote-testsvn: use interna
l
ar
g
v_arr
a
y
of s
t
ruct
c
hild_proc
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
Ren
é
Scharfe
bundle: use in
t
ernal argv_array of struct
chil
d
_p
r
oce
s
s
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
René Sch
a
rfe
fast-impo
r
t: use hashcmp() for
SHA1 hash comparison
commit
|
commitdiff
|
tree
2014-07-18
René Sch
a
rfe
transport: simplify fetch_objs_via_rs
y
nc() using
a
rgv_array
commit
|
commitdiff
|
tree
2014-07-17
René S
c
harfe
run-command: use
i
nter
n
al argv_array of struct child_process
.
.
.
commit
|
commitdiff
|
tree
2014-07-17
René
S
charfe
use commit
_
list_co
u
n
t
(
)
to c
o
unt the mem
b
e
rs of commit_lists
commit
|
commitdiff
|
tree
2014-07-17
René Scharfe
str
b
u
f
: use str
b
uf
_
addstr() for addi
n
g
C
s
trings
commit
|
commitdiff
|
tree
2014-07-16
René S
c
harfe
annotate: use argv_arra
y
commit
|
commitdiff
|
tree
2014-07-10
Re
n
é Scha
r
fe
f
sck
:
si
m
p
l
i
f
y
fsck_commit_buffer() by usi
n
g comm
i
t_list_count()
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
commit: use c
o
mm
i
t_
l
ist_
a
p
p
end() instead o
f
d
u
plicating
.
.
.
commit
|
commitdiff
|
tree
2014-07-10
René S
c
harfe
mer
g
e: s
i
mplify mer
g
e
_t
r
ivial() b
y
u
sing co
m
mit
_
l
ist_append()
commit
|
commitdiff
|
tree
2014-07-10
R
e
né
S
cha
r
fe
u
s
e strbuf_addch for a
d
ding
single character
s
commit
|
commitdiff
|
tree
2014-07-10
René Scha
r
fe
use st
r
b
uf_ad
d
buf for
a
dding strbufs
commit
|
commitdiff
|
tree
2014-07-08
René Sch
a
rfe
line
-
log
:
use
c
ommi
t
_l
i
st_append() instead of dupl
i
cating
.
.
.
commit
|
commitdiff
|
tree
2014-07-08
René Scharfe
diff
-
tree: call free_com
m
it
_
list(
)
inste
a
d of duplic
a
ti
n
g
.
.
.
commit
|
commitdiff
|
tree
2014-07-07
René Scha
r
fe
t5000,
t
5003: simplif
y
commit
commit
|
commitdiff
|
tree
2014-07-01
René Scharfe
sha1
_
file: avoid ove
r
ru
n
n
i
ng alternate object base
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
Ren
é
Scharfe
sha1_
f
i
l
e: replac
e
PAT
H
_MAX
buffer w
i
th strbuf in prepa
r
e_pa
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René S
c
har
f
e
w
t
-status: simplify bui
l
ding of s
u
mmary limit argumen
t
commit
|
commitdiff
|
tree
2014-06-30
René Scharf
e
wt-status:
u
se
a
rgv_ar
r
ay for enviro
n
ment
commit
|
commitdiff
|
tree
2014-06-13
Ren
é
Scha
r
fe
bl
a
me: simplify prepar
e
_lines()
commit
|
commitdiff
|
tree
2014-06-13
R
e
né
Scharfe
blame: factor out
g
et
_
n
e
xt_line
(
)
commit
|
commitdiff
|
tree
2014-06-09
René Scharfe
Use starts_
w
ith() fo
r
C str
i
ngs instead of
memcmp(
)
commit
|
commitdiff
|
tree
2014-06-02
René Schar
f
e
p
ack-objects: use free()+xcalloc()
i
nstea
d
of xrealloc
.
.
.
commit
|
commitdiff
|
tree
2014-06-02
René Scharfe
ma
i
linfo: u
s
e
strcmp() fo
r
str
i
ng co
m
pa
r
ison
commit
|
commitdiff
|
tree
2014-04-01
René Scha
r
fe
rev-parse: fi
x
typo
i
n example on manp
a
g
e
commit
|
commitdiff
|
tree
next