repo.or.cz
/
alt-git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
xdiff: fix merging of hunks with -W context and -u context
2016-09-14
René Scharfe
xdiff:
f
ix
m
e
rgin
g
of
hunks w
i
th -W
c
o
nt
e
xt and
-u
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René Scharfe
receive-
p
ack
:
use FLEX_AL
L
O
C_MEM in queue
_
c
o
mman
d
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René
S
charfe
commit: use FLEX_
A
RRAY in struct me
r
ge_remote_desc
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René Scharfe
merge-r
e
cursive: fix verbo
s
e
out
p
ut fo
r
m
u
ltiple base
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
Ren
é
S
ch
a
rfe
commit: factor out s
e
t_merge_re
m
o
t
e_desc()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
René Sch
a
rf
e
commit: use xstrdup()
i
n get_merge_
p
arent()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
R
e
n
é
Scharfe
mailinf
o
: r
e
cy
c
le str
b
u
f in c
h
eck_head
e
r
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-14
R
e
n
é
Sch
a
rfe
corre
c
t FLEXPTR
_
* example
i
n comment
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-06
René Scharfe
use strbuf_add
_
unique_abbre
v
() for addi
n
g short
hashes
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
R
e
né Scharfe
ne
d
mallo
c
:
w
ork around o
v
e
r
zealous G
C
C
6
warn
i
ng
Signed-off-by: René Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
René Scha
r
fe
merg
e
: u
s
e
s
tring_l
i
st_sp
l
it() i
n
add_s
t
rategies()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
R
e
né Sc
h
arfe
m
e
rge-recursi
v
e: use STRING_LIST_INIT_NODUP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-05
Ren
é
Scharfe
use
strbu
f
_addstr() instead of strbuf_addf()
with "%s"
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-08-01
R
e
né
Scharfe
use s
t
rbuf_addstr()
for addin
g
co
n
stan
t
string
s
to
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-22
R
e
né Scharfe
strbuf: avoid cal
l
ing strbuf_grow()
t
wice in strbu
f
_addbuf()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-19
R
e
n
é
S
c
har
f
e
submodule-config: use expl
i
cit e
m
p
t
y
s
t
r
i
ng instead
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-19
R
e
né
S
charfe
use strbuf_addbu
f
() for a
p
pend
i
ng a strbu
f
t
o
another
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-12
R
ené
S
cha
r
f
e
worktree:
use strbuf_add_
a
bsolute_path() directly
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-12
René Scha
r
f
e
rm:
reuse strbuf for all remove_dir_recursively()
ca
l
l
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-07
R
ené Scharfe
no
t
e
s-mer
g
e: use O_EXC
L
to
a
void overwriti
n
g exi
s
ting
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-07-07
René Scharfe
.
gitattri
b
ut
e
s
: set file type
f
or C
files
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-06-09
Ren
é
Sc
h
arfe
xdiff: fix merging
o
f appended
hunk with
-
W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharfe
perf: make the tests work
w
ithou
t
a
worktre
e
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharfe
grep:
-W: don't extend context to t
r
ailing empty
line
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Sch
a
rfe
t7810:
a
d
d test for g
r
ep -W and tr
a
iling empty
c
ontext
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René S
c
h
arfe
xdiff:
don't t
r
im
common
t
a
il wit
h
-W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
R
ené Scharfe
xd
i
ff:
-
W:
d
on't include common
t
railin
g
e
m
p
ty li
n
es
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Scharf
e
x
diff: i
g
nore empty li
n
es be
f
or
e
ad
d
e
d
f
u
nctions with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
Ren
é
Scharfe
x
d
iff
:
hand
l
e appended chunks better with -W
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René Sc
h
a
rfe
xdiff
:
factor
o
ut ma
t
ch_func_rec()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-31
René
S
ch
a
rfe
t4051: r
e
write, add more tests
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-30
R
e
n
é
Scharfe
patch-id: use starts_w
i
th() and skip_prefix(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2016-05-30
René Scharfe
apply: remov
e
unused pa
r
a
meters from name
_
terminate(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-28
René
S
ch
a
r
f
e
wt-status: c
o
r
rect and sim
p
l
i
fy ch
e
c
k
f
or
detached
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
show-ref:
s
top using PARSE_OPT_NO
_
I
NTE
R
N
AL_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
fs
c
k: t
r
eat a NUL in a
tag header as an err
o
r
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René S
c
harfe
grep:
stop
u
s
ing
P
A
RSE
_
OPT_
N
O_INTERN
A
L_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René
S
cha
r
fe
t1450: add tests for
N
UL in
he
a
ders of commit
s
and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
Ren
é
Sch
a
rfe
p
arse-o
p
tio
n
s
: al
l
o
w
-
h as a
s
hort
o
ption
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
Ren
é
Scharfe
parse-options: inline parse_opt
i
ons_u
s
ag
e
() at
i
t
s
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
parse-options
:
ded
u
plicate parse_options_usage()
calls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
R
e
né
S
charfe
daemon: plug memo
r
y leak
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
Ren
é
Scharf
e
r
u
n
-command: facto
r
out
c
hild
_
process_clear()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharf
e
show-b
r
anch: use argv_array
for defa
u
lt argument
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Schar
f
e
wt-s
t
a
t
us: use skip_prefix()
to get rid of magic string
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scha
r
fe
wt-
s
tat
u
s:
d
on't
skip
a
magica
l
nu
m
ber o
f
characters
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René S
c
h
a
rfe
wt-status: avoid buildi
n
g
b
ogus branch na
m
e with de
t
a
ched
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Sch
a
r
fe
wt-
s
t
atus: exit early usin
g
g
o
t
o
in wt_shortsta
t
us_pri
n
t_tra
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René
Scha
r
fe
t7060: a
d
d
t
es
t
f
or statu
s
--branch on a detached HEAD
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-10-26
Re
n
é Scharfe
us
e
pop_commit() for consuming the firs
t
entry of a
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scharfe
archi
v
e-zip: support m
o
re than
65535 entries
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
Ren
é
S
c
harf
e
arc
h
ive-zip: use a lo
c
a
l
variable to
s
tore the creat
o
r
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
R
ené Schar
f
e
t
5004: test ZIP
archive
s
with m
a
ny ent
r
ie
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-07-12
René Scharfe
diff: pars
e
ws
-
error
-
highlight optio
n
more strictly
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René Sc
h
arfe
d
ir: r
e
mo
v
e
u
nused
v
a
r
iable sb
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René Scharfe
clean: remo
v
e
unu
s
e
d
v
ariable buf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
R
e
né
Schar
f
e
use f
i
l
e
_exists() to
c
he
c
k if a
file exists in the
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-19
R
e
né Scharfe
pack-bitmaps: plug me
m
ory lea
k
, fix allocation size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Scharfe
use
isxdigit() fo
r
c
h
ecki
n
g if a charact
e
r is a
h
e
x
adec
i
m
a
l
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
R
ené
Sch
a
rfe
daemon:
d
eglobal
i
z
e h
o
stname inf
o
rmation
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Scharfe
da
e
mon:
u
se strbuf for hostname
info
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
Ren
é
Scha
r
fe
zli
b
:
i
nit
i
al
i
ze git_zstre
a
m
i
n git
_
defl
a
t
e
_ini
t
{,_gzip
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
Ren
é
Sch
a
rf
e
archive-zip: mark te
x
t fil
e
s in ar
c
h
i
ves
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
s
h
a1
_
name: use s
t
rl
c
py
(
) to copy
s
t
ri
n
gs
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
p
r
etty: use sta
r
ts_wit
h
() to
c
he
c
k for a pr
e
f
i
x
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
Ren
é
Scharfe
f
o
r-eac
h
-ref: use skip_prefix() to avoid duplicate
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
Ren
é
Scharfe
c
o
nnect: use strcmp() for
string compar
i
son
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
daemon: use callback to bui
l
d
i
nterpola
t
e
d
path
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
daemon
:
look
u
p client-suppli
e
d
ho
s
tname laz
i
ly
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
re
f
s: plug strbuf leak in lo
c
k_ref_sh
a
1
_
basic()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
tr
a
nsport: simplify duplicating
a
substrin
g
in transport_get
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scharfe
m
e
r
g
e:
r
e
lease
strbuf after use i
n
s
uggest_conflicts()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
R
e
né Scharfe
com
m
it-tree: simpli
f
y parsing of option -S usi
n
g skip_prefix
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-12
R
e
né Sc
h
arfe
u
s
e strbuf_com
p
lete_
l
ine() for a
d
d
ing a n
e
wline if
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René Scha
r
fe
u
s
e la
b
s() for vari
a
bles of type long
i
nstead of abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
René Scharfe
use
l
a
bs() for variables of type
l
ong i
n
s
t
ead of ab
s
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
ru
n
-command: use
v
oid to declare t
h
at functions
take
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
use args member
o
f
s
truct
c
hild_
p
rocess
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Sc
h
a
r
fe
t
r
ailer
:
u
s
e CHILD_PROCESS_INI
T
in apply_command()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
Re
n
é Scharfe
api-
r
u
n
-
c
ommand: add missing
l
i
st ite
m
mark
e
r
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René
S
ch
a
rfe
use c
h
ild_process_init() to initialize struct child_
p
rocess
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
receive-pack: avo
i
d minor leak in case start_async
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Scharf
e
gr
e
p: add color
.
grep
.
matchco
n
text
and color
.
g
r
ep
.
m
a
tchselected
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René
Scharfe
u
se
env_a
r
ray member of struc
t
child_p
r
ocess
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
run-co
m
mand:
a
d
d e
n
v_a
r
ray,
an optional ar
g
v_
a
rr
a
y
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
René Scharfe
receive-pa
c
k: p
l
ug mino
r
memory l
e
ak in unpac
k
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
R
e
né S
c
harfe
use skip_prefix(
)
t
o avoid more magic numbers
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Sc
h
arfe
mailsplit: remove u
n
ne
c
essary unlink(2) c
a
ll
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René
Scharfe
bundle: pl
u
g
m
i
nor memory leak in is_ta
g
_
in
_
date
_
range()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René S
c
h
arfe
d
aem
o
n
:
remove write-only
v
ar
i
ab
l
e maxfd
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daemon: fix error mess
a
ge after bind()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
ené
S
cha
r
fe
daemon: handle gethostbyname() erro
r
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scha
r
fe
sha1-lookup: handl
e
duplicates in
sha
1
_pos()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René
Sch
a
rfe
sha1-array: add test-sha1-arra
y
and basic tests
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-30
René Scha
r
fe
t0090: avoid passi
n
g empty string to
print
f
%d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René Scharfe
remote: simplify match_
n
a
me_with
_
pattern() using strbu
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
Ren
é
Scharfe
gr
a
p
h
: s
i
m
p
lify
g
raph_padding_line()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
René Scha
r
fe
u
s
e REALLOC_ARRAY for changing the al
l
o
c
a
t
ion size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
R
ené Scharfe
add macro REALLOC_AR
R
AY
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-15
René Scharfe
r
epack: call
p
rune_packed_objects() and upda
t
e_server_info
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next