repo.or.cz
/
git
/
gitweb.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
use file_exists() to check if a file exists in the worktree
2015-05-20
René
S
charfe
use fi
l
e_exists() to ch
e
c
k
if a file ex
i
s
t
s in the
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René
S
char
f
e
u
se
i
sxd
i
git()
f
or ch
e
cki
n
g
i
f a character
i
s a hexad
e
cim
a
l
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René
S
charfe
d
aemon: deglo
b
ali
z
e
h
ostname information
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
Ren
é
Scharf
e
daemon: use strbuf
f
or host
n
ame
info
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Scharfe
zlib: initialize gi
t
_z
s
tream i
n
git_deflate_init
{
,_gzi
p
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René
Scharfe
arc
h
ive-zip: mar
k
text files in
archi
v
es
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
R
e
né Scharfe
sha1_name: use strl
c
p
y
()
t
o copy str
i
ngs
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René
S
charfe
p
rett
y
: us
e
starts_wit
h
() to check for a prefix
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
f
or-e
a
ch-ref: use s
k
ip
_
prefi
x
() to avoid dupl
i
cate
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
R
e
n
é S
c
harfe
connect: use st
r
c
m
p() for string com
p
ar
i
son
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
R
ené Scha
r
fe
daemo
n
: use callback t
o
build interpolate
d
pa
t
h
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
daemon: loo
k
up client-sup
p
lied h
o
s
tname lazil
y
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
Ren
é
Scharfe
ref
s
: pl
u
g strbuf leak i
n
loc
k
_ref_s
h
a1_basic()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
tra
n
sp
o
rt: simp
l
ify duplicatin
g
a s
u
bstring in trans
p
ort_get
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
R
e
né S
c
har
f
e
me
r
ge: r
e
lease strbuf after
use in sugges
t
_
conflicts()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René S
c
h
a
rfe
c
o
m
mit-tree:
s
i
mplify parsing of option -S using skip_prefix()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-12
René Scharfe
use s
t
rbuf_complete_line
(
) f
o
r adding a newl
i
ne if
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René Sch
a
r
fe
u
s
e la
b
s() for variables
of type
l
ong instead of abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
Re
n
é Scharfe
use labs() for variables of
type long ins
t
e
a
d of a
b
s()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René
S
charfe
run-comman
d
: use
v
o
id
t
o declare that
function
s
ta
k
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
use
a
rgs member of st
r
u
c
t
c
hil
d
_proce
s
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
Re
n
é S
c
ha
r
f
e
trailer:
use CHILD_PROCESS_I
N
IT in apply_command()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René
S
c
harfe
a
p
i-r
u
n-command:
a
dd
m
issi
n
g list
i
t
em mar
k
er
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
R
ené
S
charfe
use
c
h
i
l
d
_process_init() to ini
t
i
a
lize struct child
_
proces
s
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
Ren
é
S
charfe
receive-pack: avoid minor leak in case start_async
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
R
e
né Scharf
e
grep:
a
dd color
.
grep
.
m
atchcontext and color
.
grep
.
matchselected
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René Sch
a
rfe
us
e
en
v
_array member of str
u
ct child_process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
r
un-command: add e
n
v_array,
an optional arg
v
_a
r
ray
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
René
S
c
harfe
receive-
p
ack: plu
g
m
i
nor memory leak i
n
unpack()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
R
en
é
Scha
r
fe
u
s
e skip_pr
e
fix() to a
v
oid mor
e
magic num
b
er
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
R
e
n
é S
c
harfe
mailsplit: remove unnecessary
u
nlink(2)
c
all
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
Re
n
é Sc
h
arfe
bundle
:
p
lug min
o
r memory leak in is_tag_in
_
date_r
a
nge()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
d
a
em
o
n: rem
o
ve wr
i
t
e-only variable maxf
d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
ené Scharfe
d
a
emo
n
: fix error mes
s
a
ge after bind()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
d
a
e
mon: handle gethost
b
yname(
)
error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
Re
n
é Scharfe
sha1-lookup: handle d
u
pli
c
ates in sha1_pos
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René
Schar
f
e
sha1-array: add test-sha1-a
r
ray and b
a
sic t
e
sts
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-30
Ren
é
Scharfe
t0090:
a
void passing empty st
r
ing
to printf %d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René Schar
f
e
remo
t
e: simplify
m
atc
h
_
n
a
me_with_pattern()
u
s
ing st
r
buf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René Scharfe
graph: simplify graph_padding_line()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
R
en
é
Sc
h
arfe
use REALLO
C
_ARRAY for changing th
e
allocation siz
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
R
e
n
é
Sc
h
arfe
ad
d
m
acro REALLOC_ARRAY
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-15
Re
n
é Scharfe
rep
a
ck: call prune_packed_obje
c
ts(
)
and update_s
e
r
ver_info
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
s
t
rbuf
:
use strbuf_ad
d
chars() for
adding a char m
u
ltiple
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René
S
charfe
strbuf: expor
t
s
t
r
buf_addchar
s
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
Re
n
é Scharfe
t
r
ace: correct
t
race_strbuf() parameter type for !HAVE
_
VAR
I
A
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Sc
h
arfe
i
map-send: simpli
f
y
v_issue_i
m
ap
_
c
md() and get_cmd_result
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Sch
a
rfe
me
r
g
e
-
t
ree:
r
e
m
ove unu
s
ed df_conflict ar
g
uments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Sch
a
rfe
http-walker: simplify
p
roc
e
ss_alternate
s
_re
s
ponse(
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Schar
f
e
config: simp
l
ify git_c
o
nfig
_
incl
u
de()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
Re
n
é S
c
h
a
r
fe
pack-write: simplify
i
ndex_pack_loc
k
file
u
sin
g
s
k
i
p_pr
e
fix
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
Re
n
é Sc
h
arf
e
conn
e
ct: si
m
pli
f
y check_ref() using sk
i
p_prefix(
)
a
n
d
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use strbuf_add_absol
u
t
e_path() to add absolute paths
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René
S
char
f
e
absp
a
t
h
: convert
absolute_path
(
)
to strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René
Scharfe
use xgetcwd()
t
o set $GIT_DIR
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
u
s
e
x
getcwd()
to ge
t
the current
d
irectory or die
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Sch
a
rfe
wrappe
r
: add xgetcwd(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
Ren
é
S
c
harfe
abspath: convert re
a
l
_
path_inter
n
al(
)
to strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René S
c
harfe
absp
a
th
:
u
s
e strbuf_
g
etcwd() t
o
rem
e
m
b
er orig
i
nal working
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
e
né Scharfe
setup: convert setup_git_directory_gently_1 et al
.
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René Scharfe
walker: avoid quadratic list
insertion in mark
_
complet
e
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
Ren
é
Sc
h
ar
f
e
sha1_
n
a
me: av
o
id qu
a
dratic list
i
ns
e
rtion in han
d
le_one_ref
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharf
e
run-command: inline
p
repare_run_c
o
mm
a
nd_v_opt()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
Ren
é
Sch
a
rfe
run-command:
ca
l
l run_command_v
_
opt_cd
_
env(
)
in
s
tead
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René
Sch
a
rfe
run-co
m
mand: introdu
c
e child_process_init()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René
Scharfe
run-command: i
n
troduce CH
I
LD_PROCESS_INIT
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
Re
n
é
Sch
a
rfe
t
urn pat
h
m
acros
into in
l
i
n
e fu
n
ction
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
René S
c
harfe
clean: use
f(void) i
n
stea
d
of f() to declare a pointer
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-10
René Scha
r
fe
r
e
ad-cache: ch
e
c
k
f
or
le
a
d
in
g
s
ym
l
inks
w
hen refresh
i
ng
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René
Scha
r
fe
init: avoid sup
e
rfluous
real
_
pa
t
h
(
) cal
l
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
R
e
né Sch
a
rfe
unix-so
c
kets: u
s
e
strbuf_getcw
d
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René Scharfe
strb
u
f
: add strbuf_getcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
René
S
c
harfe
use xmemdupz() to allo
c
a
t
e copies of strings given
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
R
e
né Scharfe
use xca
l
loc()
to allocate
zero-initialized memory
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
R
e
né Sch
a
rfe
unix-socket: remove stal
e
s
o
cket before calling chd
i
r()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René
S
charfe
remote-testsv
n
:
u
se internal argv_
a
rray of s
t
ruct child_pro
c
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
R
e
né Scharfe
b
un
d
l
e: use inte
r
nal argv_array of struct child_process
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
Re
n
é
Schar
f
e
fas
t
-import:
u
se hashcmp(
)
f
or
S
HA
1
hash
c
o
mpar
i
son
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
transport: sim
p
lify fetch_ob
j
s_
v
ia
_
rsync()
using argv
_
array
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
René Scha
r
fe
run-command
:
use inter
n
al
a
rgv_arra
y
o
f
s
t
ruct child_process
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
René Sch
a
rfe
use
c
om
m
it_
l
is
t
_cou
n
t()
t
o
c
o
unt the members
of
c
ommit_lists
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-17
R
e
né Sch
a
rfe
strbu
f
: use str
b
uf
_
a
d
dstr() for addi
n
g
C strings
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-16
René Scharfe
annota
t
e: use argv_
a
r
r
ay
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
fsck: si
m
p
lify
fsck_commit_b
u
f
f
er() b
y
using
c
ommit
_
list_
c
ount
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
Re
n
é
Scha
r
fe
commi
t
: use commi
t
_
l
ist
_
append()
instead of du
p
licating
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
R
ené Scha
r
fe
merge: simplify merge_
t
rivial() by using
c
ommit_list_append()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
use
strbuf_
a
dd
c
h for
addi
n
g si
n
gle cha
r
acters
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-10
Ren
é
Sch
a
rfe
use strbuf_
a
d
d
buf
for ad
d
ing
s
t
rb
u
fs
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-08
R
ené Scharfe
line-lo
g
: use c
o
mmit_list_append() instead of dup
l
i
cating
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-08
René Scharfe
diff-
t
ree:
call
f
ree_co
m
mit_lis
t
() instead of
d
u
plicating
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-07
Re
n
é Scharfe
t
5000, t5003: simplify commit
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-01
René Scharfe
sha1_f
i
le: avoi
d
ov
e
rrunning
alter
n
a
t
e
obje
c
t
base
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René Scharfe
sha1_file: r
e
place P
A
TH_MAX
b
uff
e
r with s
t
rbuf i
n
prepare_pa
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-30
René S
c
harfe
wt-status: simplify building of
sum
m
ary
limit
a
rgument
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-30
R
ené Scharfe
w
t
-st
a
tus: use ar
g
v_arra
y
for environment
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-13
René S
c
ha
r
fe
blame:
s
implify prepare_lines()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-13
René Scharfe
blame: factor
out get_next
_
line
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-09
René Sch
a
r
f
e
Use
s
tarts_with()
for
C
strings inst
e
ad of memcm
p
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-02
R
ené
S
charfe
pack-object
s
: use
free()+x
c
all
o
c() inst
e
a
d
of xr
e
al
l
oc
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-06-02
René
S
charfe
mailinfo:
u
se strcmp
(
)
f
o
r string comparison
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next