repo.or.cz
/
git
/
git-svn.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"
2016-08-05
Re
n
é Scharfe
us
e
strbuf_addst
r
(
)
instea
d
of str
b
uf_addf
(
) wi
t
h "%s"
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-01
René Scharfe
use
s
trbuf_a
d
dstr() fo
r
adding consta
n
t
s
trin
g
s
t
o
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-06-09
René Scharf
e
xd
i
ff
:
f
ix
merging of
a
p
pended hunk w
i
th -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharfe
perf:
m
ake the tests
work wit
h
out
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 conte
x
t to trailin
g
empty li
n
es
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
Re
n
é S
c
harfe
t
7810: a
d
d t
e
st
f
or g
r
e
p -W and tr
a
iling
e
mpty context
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Schar
f
e
x
d
iff: do
n
't t
r
im c
o
mmon tail with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scha
r
f
e
x
dif
f
: -
W
:
don'
t
incl
u
de
c
o
m
m
o
n
traili
n
g empt
y
lines
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharf
e
xdiff: ignor
e
emp
t
y lines before added funct
i
ons
w
i
t
h -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René
Scharf
e
xd
i
ff: handle appended ch
u
nks better wit
h
-W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
R
ené Scharfe
xdiff: fact
o
r out match
_
f
u
n
c_rec()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharfe
t
4
05
1
:
rewri
t
e, add
more tests
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-30
René Sch
a
rfe
patch
-
i
d: use
s
tarts_with() and
s
kip_prefix()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-30
René Scharf
e
a
p
ply: remove unused paramete
r
s fro
m
nam
e
_terminate()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-28
R
e
n
é Scha
r
f
e
w
t-status
:
corr
e
c
t
a
nd simpl
i
fy check
for
d
et
a
c
h
ed
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
Ren
é
Scharf
e
show-re
f
: stop u
s
ing PA
R
SE_
O
P
T_NO_INTERNAL_
H
ELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René
S
charfe
fsck:
treat
a
NUL in a tag
header as an error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Sch
a
rfe
grep:
s
top using PARSE_OPT_NO_INTERNAL_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharf
e
t14
5
0: ad
d
te
s
ts for N
U
L in head
e
rs of comm
i
ts and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
pars
e
-options: allow -h as a
s
h
o
r
t option
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René
Sch
a
rfe
parse-opti
o
ns: inli
n
e
par
s
e_options_u
s
age() at its
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
R
ené Scharfe
p
arse-options:
d
edupl
i
cate pars
e
_options_usag
e
() calls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
René Schar
f
e
da
e
mo
n
: p
l
ug memory leak
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
René S
c
harfe
r
u
n
-command: fac
t
o
r
out child_proces
s
_clear()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharf
e
s
how-
b
ranch: use
argv_array f
o
r default a
r
guments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
R
e
n
é
S
charfe
wt-statu
s
:
use sk
i
p_prefix() to get rid
of magic string
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Ren
é
S
charfe
wt-status
:
don'
t
skip a
m
agical numb
e
r
of
c
ha
r
acters
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
wt-status: avoi
d
buildi
n
g b
o
g
u
s branch name with deta
c
hed
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René
Scharfe
wt-status:
exit e
a
rly using
g
oto in wt_short
s
tatus_print_tra
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Schar
f
e
t7060: add test for st
a
tus --branch o
n
a
detached HEAD
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-10-26
René Sc
h
a
rfe
u
se
pop_commit() fo
r
consuming the fir
s
t entry of a
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Sc
h
arfe
archive-zip: support mor
e
than 65535
e
ntries
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René S
c
harfe
arc
h
ive-
z
ip: use a local
v
a
riable to store t
h
e
crea
t
or
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Schar
f
e
t5004: te
s
t ZIP archives with
m
an
y
entrie
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-07-12
René
S
c
h
arf
e
diff
:
pa
r
se ws-error-highligh
t
option more stric
t
ly
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René
S
c
h
a
r
f
e
dir:
remove unused
v
a
r
iable sb
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René Scharfe
c
l
ean:
remov
e
unused variab
l
e bu
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René
Scharfe
u
se file
_
exists()
t
o check if a file exists in
t
he
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-19
Ren
é
Scharfe
pa
c
k-bitmaps: p
l
ug memory leak, fix
allocation siz
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
Re
n
é Scharfe
u
s
e
isxdigit() for checking if a
c
h
aract
e
r
is a he
x
ade
c
imal
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Sc
h
arfe
daemon: deglobaliz
e
hostname inform
a
tion
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
Ren
é
Scharfe
daemon: u
s
e strbuf f
o
r hostna
m
e
info
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
Re
n
é Scharf
e
zlib: initi
a
l
ize git_zstream in git_deflate_init{,_gzi
p
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René
Scharfe
a
rchive-zip: mark
t
e
xt files in archives
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René S
c
harfe
sh
a
1
_
n
ame: use strlcpy()
to copy
s
trings
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
R
ené
Scharfe
pretty: use st
a
rts
_
with() to check
for a prefix
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
R
e
n
é
Sch
a
rfe
for-each-ref: use skip_prefix(
)
t
o
avoi
d
duplicate
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
Re
n
é Sch
a
rf
e
connec
t
: use str
c
m
p
() for string comparison
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
da
e
mon: use callback to b
u
il
d
inte
r
polated path
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
daem
o
n: loo
k
up client-supplied
h
ostname
lazily
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scha
r
fe
refs: p
l
ug strbuf le
a
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é Sch
a
r
fe
t
r
ansp
o
r
t
: sim
p
li
f
y duplicating a su
b
st
r
ing in transport_ge
t
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Sch
a
r
f
e
merge: relea
s
e
strbuf
after use in sug
g
est_
c
onflic
t
s()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René S
c
harfe
commit
-
tree: simplify parsi
n
g
of
o
p
t
ion -
S
using skip
_
prefix()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-12
R
e
né Scharfe
u
se strbuf_complete_l
i
n
e
() for addin
g
a new
l
i
ne if
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René
S
char
f
e
use labs()
f
or
var
i
a
bles of type lo
n
g instead
o
f abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René S
c
har
f
e
use labs() for variables of type long in
s
tead
o
f abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
Ren
é
Scharf
e
run-command:
u
s
e voi
d
to declare that f
u
nctions take
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
R
e
né Sch
a
rfe
u
se ar
g
s mem
b
e
r
o
f struct chi
l
d
_
pr
o
ce
s
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
trailer:
use CHILD_PROCESS_INIT in
a
pply_command(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
api-run-
c
ommand: a
d
d missin
g
list item marker
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
use
c
h
ild
_
proce
s
s_ini
t
() to initializ
e
struct chi
l
d_p
r
ocess
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René S
c
harfe
recei
v
e-pack: avoid minor leak in
c
as
e
sta
r
t
_a
s
ync
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
grep:
add color
.
grep
.
matchcontext and co
l
o
r
.
grep
.
matchselect
e
d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
R
ené Schar
f
e
use env_array
member
of
struct
c
hi
l
d
_
proces
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
run
-
command: add env_ar
r
ay, an optiona
l
argv_array
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
René Scharfe
receive
-
pack: plug
minor memo
r
y leak in unpack
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
R
e
n
é S
c
harfe
use skip_pr
e
fix() to
av
o
id more magic numbers
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René S
c
h
a
rfe
m
a
i
lsplit: remove unnecess
a
ry
unli
n
k(2)
c
all
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René
S
c
h
a
rfe
bundle: plug minor memory
l
eak in is
_
tag_in_da
t
e_range()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daemon: remove write
-
on
l
y varia
b
le maxfd
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Sc
h
arf
e
daemon: fix error messag
e
after bind()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René S
c
harfe
daemo
n
: hand
l
e g
e
thostbyname() e
r
ror
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharf
e
sha1
-
lookup: handle duplicates in sha1_
p
os()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René S
c
harfe
sha1-ar
r
ay
:
a
dd test-
s
ha1-
a
rray and ba
s
ic tests
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-30
Re
n
é Scharfe
t
0
090:
a
v
oid passing emp
t
y string to
p
r
intf %d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René Sch
a
rfe
remo
t
e: simplify match_n
a
me_with_pa
t
tern() usi
n
g
strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René
S
charfe
graph: sim
p
lify graph_padding_line
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
Re
n
é
S
charfe
use R
E
ALLOC_ARRA
Y
for changing
t
he alloc
a
t
i
o
n
siz
e
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
R
e
né Scharfe
add ma
c
ro REALLOC_ARRAY
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-15
Ren
é
Schar
f
e
r
epack: c
a
ll prune
_
pac
k
ed
_
obje
c
ts() and update_se
r
ver_i
n
fo
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
R
e
né Scharfe
strbuf: use str
b
uf_addchars()
f
or
a
dd
i
n
g
a char mu
l
t
iple
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
strbuf: e
x
port strbuf
_
addch
a
rs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René S
c
harfe
t
r
ace: correct trace_strbuf() parameter
ty
p
e fo
r
!HAVE_VARIA
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René
S
cha
r
fe
imap-sen
d
:
simplify
v
_issue_
i
map_cmd() and get_cmd_result
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
Ren
é
Scharf
e
merge-tree
:
rem
o
ve unused
df_conflict argument
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
http-walker: simplif
y
process_a
l
ternates_response(
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
conf
i
g: s
i
mplify git_
c
onfig_incl
u
de()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
pack-write: simplify index_pack_lockfile using skip_prefi
x
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
co
n
nect: sim
p
lify chec
k
_re
f
() usi
n
g
skip_pre
f
ix
(
) and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René S
c
harfe
use strbuf_
a
dd_abs
o
l
u
te_path
(
) to add abs
o
lute paths
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
Re
n
é
S
cha
r
fe
ab
s
path:
convert absolute_path() to str
b
uf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use
xge
t
cwd
(
) to set $GIT_DIR
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
Ren
é
Scharfe
use xgetcwd() to ge
t
the
c
urre
n
t
d
irectory or d
i
e
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
wrapper: add xg
e
tcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René
Scharfe
abspath: convert real_path
_
intern
a
l() to strbuf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Sc
h
arfe
abspath: use strbuf_getcwd()
to remem
b
er origina
l
wor
k
ing
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Sc
h
a
r
fe
setup
:
conve
r
t setup_git
_
direc
t
ory_
g
ently_
1
et al
.
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René Schar
f
e
walker: avoid quadratic
list ins
e
rt
i
on in mark_complete
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
R
ené Scha
r
f
e
sha1_name: avoid quad
r
a
t
ic lis
t
insertion i
n
han
d
le_
o
ne_ref
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next