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 strbuf_addstr() instead of strbuf_addf() with "%s", part 2
2016-09-27
René
S
cha
r
fe
use strbuf_addstr() instead
of strbu
f
_ad
d
f()
w
ith
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-09-27
R
ené Scharfe
giti
g
nore: ignore output files of cocc
i
check
m
ake target
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-09-15
Ren
é
Sch
a
rfe
use strb
u
f_add
s
tr() fo
r
adding constant strings to
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-09-15
René Scharfe
add coc
c
icheck ma
k
e targ
e
t
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-09-15
René
Sc
h
a
r
fe
contrib/cocci
n
e
l
le: f
i
x seman
t
ic patch for oid_to_hex_
r
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-29
René S
c
harfe
p34
0
0: mak
e
tes
t
s
c
r
ip
t
ex
e
cutable
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René Sch
a
rfe
receive
-
pack
:
u
se FLEX_ALLOC_MEM i
n
queu
e
_
c
ommand(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René
Scharfe
commit: use FLEX_
A
R
RAY in struct m
e
rge
_
remote
_
desc
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René Scha
r
fe
m
e
r
g
e
-
recursi
v
e
:
fix v
e
rbose ou
t
put fo
r
multiple base
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
Ren
é
Scharfe
com
m
it
:
factor out set_
m
erge_r
e
mote_desc()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
Re
n
é Scharfe
commit: u
s
e xstrdu
p
(
)
in get_merge_parent
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René Scharfe
mailinfo
:
r
e
c
ycle s
t
rbuf in che
c
k_header()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René
Sch
a
rfe
c
o
rr
e
ct FL
E
XPTR
_
* exampl
e
in comment
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-06
Re
n
é
S
charfe
u
s
e
s
t
r
buf
_
add_uniq
u
e_a
b
b
r
ev(
)
for add
i
ng
s
hort hashes
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-06
René
S
charfe
archive
-
tar: make write_
e
xtended_he
a
der() void
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
Ren
é
Scharfe
nedmalloc: work around over
z
eal
o
u
s
GCC 6
warni
n
g
Signed-off-by: René Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
René Scharfe
merge:
u
se string_list_
s
plit() in add_
s
trategies()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
René S
c
h
arfe
merge-recursiv
e
: us
e
S
T
RING_L
I
ST
_
INIT
_
NOD
U
P
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
René Schar
f
e
use
C
HILD_P
R
O
CESS_
I
NIT to initialize
a
utomatic variab
l
es
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
René Scharfe
use strbuf
_
addstr()
i
nstead of strbuf_addf() with "%s"
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-01
Re
n
é Scha
r
fe
pass con
s
ta
n
ts as first argumen
t
to st_mult(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-01
René Scharfe
use strb
u
f_addstr() for adding c
o
nsta
n
t strings to
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-22
René Scharfe
s
trbuf: a
v
oid
c
alling
strbuf_grow()
t
wice in
s
trbuf_addb
u
f()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-19
R
e
né Scharf
e
submodule-co
n
fig:
use explicit
e
mpty string instead
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-19
René Scharf
e
use strbuf_a
d
dbuf(
)
for a
p
pending a s
t
rbu
f
to another
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-12
René
S
c
h
a
r
fe
w
o
rktr
e
e:
u
se strbuf_
a
dd_a
b
s
o
lu
t
e_path
(
) d
i
r
e
ctly
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-12
René Scharf
e
rm: re
u
se strbuf for all remove_dir_recursively() calls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-08
René
Scharfe
am: ignore return value
of
w
ri
t
e
_
f
ile()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-07
René Scharfe
notes-merge: use O_EXCL to avoid overwriting exi
s
ting
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-07
Re
n
é Sch
a
rfe
.
gitattributes: set f
i
l
e type for
C
files
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-06-09
R
e
né Scharfe
xdiff: fix merging of a
p
p
ended hunk with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharfe
perf:
make t
h
e tests
w
ork withou
t
a worktree
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Sc
h
arfe
grep: -
W
: don't extend context to trailing
emp
t
y lines
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René
Scharfe
t7810:
add te
s
t
f
or grep -W and trailin
g
empt
y
context
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René S
c
harfe
x
diff: do
n
't t
r
im common tail with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René
S
char
f
e
xdif
f
:
-W: don't include
common trailing empty
l
ines
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Sch
a
rfe
xdiff: i
g
nore
e
mpt
y
lines
b
e
f
ore a
d
d
e
d functions wi
t
h -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
Re
n
é Scharfe
x
d
iff: handle appended
c
hun
k
s
better w
i
t
h
-W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
Ren
é
Scharfe
x
d
if
f
: factor o
u
t
m
a
t
ch_func_rec()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharfe
t4051: rewrite, add
m
ore tes
t
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-30
René S
c
h
a
rfe
patch-id: use star
t
s_with
(
)
an
d
sk
i
p
_
prefix
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-30
René Scharfe
app
l
y
: r
e
move unused parameters f
r
om name_termin
a
te()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-28
René Scharfe
wt-status: correct a
n
d simplify check
for detached
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René
S
charfe
show-
r
ef: s
t
op
using PARSE_OPT_
N
O_INTERNAL_
H
EL
P
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René S
c
harfe
f
s
c
k: tr
e
at a N
U
L i
n
a tag header as an
error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Schar
f
e
g
r
ep: s
t
op
u
sing PARS
E
_OPT_NO_
I
NTERNAL_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Sch
a
r
f
e
t1
4
50: add t
e
sts for NUL in headers of commits a
n
d
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
R
e
né
Scharfe
parse-options: allow -h as a
short option
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
parse-
o
ptions
:
i
n
line
parse_options_usage() at its
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Sc
h
ar
f
e
par
s
e
-
options: de
d
uplicate parse_op
t
ions_usage() ca
l
ls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
Ren
é
Schar
f
e
daemon: p
l
ug mem
o
ry leak
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
René
Scharfe
run-com
m
and: factor ou
t
c
h
ild_process_clear()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René
S
c
harfe
show-branch: u
s
e
arg
v
_arr
a
y for defau
l
t
a
r
g
uments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
wt-status: u
s
e skip
_
pref
i
x() to
get
rid
o
f m
a
gic string
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
R
e
né Scharfe
wt
-
status:
d
on't skip
a magical
n
u
m
be
r
of characters
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
R
e
n
é Scharfe
wt-status: avoid building bogus branch name with detached
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Sc
h
arfe
wt-status: exit early
u
sing got
o
in wt_shortstatu
s
_print
_
tra
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Ren
é
S
c
h
arfe
t7060: a
d
d test
f
or sta
t
u
s --bra
n
c
h on
a d
e
t
a
ched HEAD
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-10-26
René Scharfe
use po
p
_com
m
it()
f
or consu
m
ing
t
he first entr
y
of a
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scharfe
archive-zip: support more th
a
n 6
5
535 entries
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scha
r
fe
arc
h
ive-zip: use a local vari
a
ble
t
o store
the cre
a
tor
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
R
e
né Scharfe
t
5
004: test
Z
I
P
archives
w
i
t
h many entries
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-07-12
Re
n
é Scharfe
diff: parse ws-e
r
ror-
h
ighlig
h
t option more strictly
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
Ren
é
Scharf
e
dir: remove
unused variab
l
e sb
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René S
c
harfe
clean: remove unus
e
d variable b
u
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
R
ené Scharfe
u
se fi
l
e_e
x
i
s
t
s() to check if
a
fil
e
exists in the
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-19
René Scharfe
pack-bitmaps: plug
m
emory lea
k
, fix allo
c
ation size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
Re
n
é
Scharfe
use isxdigit() for checking if a charact
e
r is
a
hexadeci
m
al
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
Re
n
é
S
c
harfe
d
aemon: deglobalize hostname
informa
t
ion
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René S
c
harfe
daemon: use str
b
uf for hostname info
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René
S
charf
e
zlib
:
initialize git_
z
stream in g
i
t_deflate_init{,_gzip
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Scharfe
archive-zip: mark te
x
t files in archive
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
Re
n
é Sc
h
arfe
s
h
a1_n
a
me: use s
t
rlc
p
y() to cop
y
strings
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
p
r
etty:
u
se starts_
w
ith() to c
h
eck f
o
r a
prefi
x
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
Re
n
é Scharfe
for-e
a
ch
-
ref: use skip_pre
f
ix() to a
v
oid
duplica
t
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
connec
t
: use strcmp() for string compari
s
on
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René
Scharfe
da
e
mon
:
use callback to
build in
t
erp
o
l
ated pa
t
h
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
R
e
n
é Scharfe
daem
o
n: look
up c
l
i
e
nt-su
p
plied host
n
ame lazily
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
Re
n
é Scharfe
refs: p
l
u
g strbuf lea
k
in lock_
r
ef_sha1_basic()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
R
e
n
é
Scharf
e
t
r
a
n
sport: simplify duplicating a substring in
transport_get
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharf
e
merge: release
strbuf a
f
ter use in sug
g
est_conflicts()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharf
e
commit-tree: simplif
y
parsing of
option -S using ski
p
_prefix(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-12
Re
n
é S
c
harfe
use strbuf
_
complete_line() for adding a newl
i
ne if
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
Re
n
é Scharf
e
use labs() for variables of
type long ins
t
ead
o
f abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
Re
n
é
Scharfe
use
l
abs() f
o
r variables of t
y
pe long
instead of abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scha
r
fe
run
-
command: use void to decl
a
re that f
u
nctions
take
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Schar
f
e
use a
r
gs member of str
u
ct child_process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
trailer: use CHILD_PROCESS_INIT in ap
p
ly_command()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
Re
n
é
S
charfe
api-run-comm
a
nd: add mis
s
ing lis
t
item ma
r
ker
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
us
e
child_process_init() t
o
initiali
z
e
struct c
h
ild_process
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
Ren
é
S
c
harfe
receiv
e
-pack: avoid minor leak in c
a
se
s
t
ar
t
_async
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René
Scharfe
grep:
add color
.
g
r
ep
.
matchcontext and
c
o
l
or
.
grep
.
mat
c
hselected
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
u
s
e env_array member of struct child
_
proce
s
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René Schar
f
e
run
-
com
m
a
n
d: add env_array
,
an
opti
o
nal a
r
g
v
_
array
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
René
S
charfe
receive
-
pack: p
l
ug minor
m
emory
l
eak i
n
unpack()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
R
ené Scharfe
u
s
e
s
kip_pre
f
ix() to
avoid mor
e
magic numbers
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René S
c
harfe
mailsp
l
i
t: remove unnece
s
sary unlink(2
)
call
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
Re
n
é Sch
a
r
f
e
bu
n
dle:
p
lug minor memory leak in is_tag_in_date
_
ra
n
ge(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
en
é
Scharfe
daemon: rem
o
ve
w
rite-on
l
y variab
l
e maxfd
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René S
c
ha
r
fe
daemo
n
: fi
x
e
rror
m
e
ssage
after
bind()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next