repo.or.cz
/
git.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
t0001: skip test with restrictive permissions if getpwd(3) respects them
2015-11-28
René Scharfe
wt-sta
t
u
s
: cor
r
ect and sim
p
lify check fo
r
detached
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Sc
h
arfe
show-ref:
sto
p
using
P
ARSE_O
P
T_
N
O_INTERNAL_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René
S
charfe
fsck:
t
re
a
t a
NUL in a tag h
e
ader as an error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René
Scharfe
gr
e
p: stop using PARSE
_
OPT_NO_I
N
TERNAL_HELP
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
René Scharfe
t1450
:
add t
e
sts for NUL
in headers
o
f commits and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
R
ené Scharfe
parse-op
t
io
n
s: allow
-
h as
a
sh
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
-
options: inline pa
r
se_options_usage() at i
t
s
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-20
Re
n
é Scharf
e
p
a
rse-options: ded
u
plicat
e
parse_options
_
u
s
age() c
a
lls
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
René Scharf
e
daemon: plug
me
m
ory leak
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-02
René Scharfe
run-com
m
and: factor
o
ut c
h
ild_process
_
clear()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
show-branch: use
a
r
g
v
_array fo
r
defau
l
t
a
rguments
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
wt-status:
use
skip_prefix() to get r
i
d of
magi
c
string
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Ren
é
S
c
harfe
wt-status:
don't skip
a mag
i
cal numbe
r
of characters
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
wt
-
stat
u
s: avoid building
bogu
s
b
r
anch name with detached
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
Ren
é
Scharfe
wt-status
:
exit early using
g
o
to in wt_shortstat
u
s_print_tra
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-11-01
René Scharfe
t7060:
a
dd test for stat
u
s --
b
ranch on a
detached HEAD
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-10-26
René S
c
harfe
use pop_
c
om
m
it() for consuming th
e
first ent
r
y o
f
a
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scharfe
a
rchive-zip: supp
o
rt m
o
re than 65535 entries
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
René Scharfe
archi
v
e
-zi
p
: us
e
a
l
o
cal variabl
e
to store t
h
e creato
r
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-08-28
Ren
é
Scharfe
t5004: test ZIP archi
v
es with many entrie
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-07-12
René Scharfe
di
f
f:
parse
w
s
-er
r
or
-
highlight opti
o
n more stri
c
t
l
y
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
René Scha
r
fe
dir: remove unu
s
ed var
i
a
b
l
e
sb
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
Re
n
é
S
charfe
cle
a
n: remove unused varia
b
le buf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-20
R
ené Scharfe
use file_exists() to check
i
f a file exists in the
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-05-19
Ren
é
Scharf
e
pack-bitmaps:
p
lug memor
y
leak, f
i
x allocat
i
on size
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Scharfe
use i
s
xdigit() for chec
k
i
n
g if a chara
c
ter is a h
e
xadec
i
mal
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
René Scharfe
dae
m
o
n
:
deglo
b
alize hostname informati
o
n
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-10
Re
n
é S
c
harfe
d
a
emon: use strbuf
fo
r
hostname i
n
fo
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René Scharfe
zli
b
:
i
nitia
l
ize git_zstream in git_d
e
flate
_
init
{
,
_
gzip
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-03-05
René S
c
h
arfe
arc
h
ive-zip: m
a
rk text files
i
n
archiv
e
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
R
ené Scharfe
sha1_name: use strlcpy() to
c
o
p
y string
s
Signed-of-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
Ren
é
Scharfe
pretty: use
star
t
s_with(
)
to check for a
prefix
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René Scharf
e
for
-
each-r
e
f: use skip_prefix(
)
t
o avoid duplicate
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-22
René
S
cha
r
fe
c
o
n
nect: use strcmp() for string compari
s
on
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Sch
a
rfe
daemon: use callback to buil
d
interp
o
l
ated
p
a
th
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
daemon:
l
ook u
p
c
l
ient-suppl
i
ed
h
ostname lazily
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
Ren
é
Scharfe
refs: plug strbuf leak in lock
_
ref_
s
ha1_b
a
sic()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Sc
h
arfe
tra
n
s
p
o
r
t: simplify dupl
i
cat
i
n
g a substring in transport
_
get
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
Ren
é
Scharfe
merge: r
e
leas
e
st
r
b
uf afte
r
use in
suggest_co
n
fli
c
ts()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-29
René Scha
r
fe
commit-
t
ree: simp
l
ify parsing o
f
option -S
us
i
n
g
s
k
ip_prefi
x
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-12-12
René Scharf
e
use strb
u
f_complete
_
line
(
) for addi
n
g a new
l
ine
if
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
R
e
n
é S
c
h
arfe
use labs() for
variables of type
long instead of
a
bs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-17
R
e
né Sc
h
a
rfe
use
labs() for var
i
ables of type
l
ong ins
t
ea
d
o
f abs()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
Ren
é
Sc
h
ar
f
e
run-command: u
s
e
v
oid to d
e
clare
that functio
n
s
t
ake
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
use
args memb
e
r of str
u
ct child_process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-11-10
R
ené Scharfe
trai
l
e
r
:
u
se CHIL
D
_P
R
OCESS_INIT in apply_c
o
m
mand()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
R
e
né
S
charfe
api-run-co
m
mand:
a
dd
m
issing list item mark
e
r
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
René Sc
h
arfe
use ch
i
ld_p
r
oce
s
s_init()
to ini
t
ialize struct ch
i
ld_process
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
R
ené Sc
h
arfe
receive-pack: avoi
d
m
inor leak in case start_async
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-28
Ren
é
S
c
harfe
grep: add
color
.
grep
.
matc
h
context
a
nd color
.
grep
.
matchselected
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René
S
charf
e
use env_arra
y
member of s
t
ruct child_process
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
ru
n
-
c
ommand:
a
dd env_
a
rray, an opt
i
onal argv
_
ar
r
ay
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-13
René
Schar
f
e
recei
v
e-pa
c
k: plug
mino
r
memory leak in
un
p
a
c
k
()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René Sc
h
ar
f
e
u
s
e
skip_prefix() t
o
avoid more mag
i
c num
b
ers
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
Re
n
é
Scharfe
mail
s
plit: remove unnecessary unlink
(
2) call
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-07
René S
c
harfe
b
u
ndle
:
p
l
ug minor me
m
ory leak in
is_tag_in_date_ran
g
e(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René
S
c
h
arfe
d
a
emon: re
m
ove wri
t
e-only variable maxfd
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René
Scharfe
daemon: fix error
m
essag
e
a
f
ter bind()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
Re
n
é
S
c
h
a
r
fe
d
aemon: handl
e
getho
s
tbyname() error
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
R
e
n
é
Sch
a
rfe
s
h
a
1-
l
o
okup: handle
d
uplicates in sha
1
_pos()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
sha1-array: ad
d
t
est-sha1-
a
rray and b
a
sic tests
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-30
Re
n
é
Scharfe
t
0
090: avoid pa
s
sing
empty
s
tring to print
f
%d
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
René Scharf
e
r
e
mote: simplify match_name_w
i
t
h
_patt
e
rn()
usi
n
g str
b
u
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-22
R
e
né Sch
a
rfe
graph:
s
impl
i
fy graph_pa
d
ding_line
(
)
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
René Scharfe
use REALLOC_ARR
A
Y for changing
the
a
ll
o
cati
o
n
s
ize
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-18
Re
n
é Scharf
e
ad
d
macro R
E
ALLOC_ARRAY
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-15
René S
c
harf
e
r
ep
a
ck
:
call
prune_packed_obje
c
t
s
(
) an
d
u
pdate_server_info
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Scha
r
fe
strbuf: u
s
e
s
tr
b
uf_addcha
r
s
() fo
r
addin
g
a c
h
a
r multiple
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René Scharf
e
str
b
uf: export str
b
uf_a
d
dchars()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-08
René
Sch
a
rfe
trace
:
correct trace_s
t
rbuf() parameter type for !HA
V
E_VARIA
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
Ren
é
Scha
r
fe
imap-send: simp
l
ify v_issu
e
_imap_cmd() and get_cmd_r
e
s
u
lt
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
merge-tree: remo
v
e
u
n
us
e
d df_conflict argu
m
ents
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
R
e
n
é
Scharfe
htt
p
-walker: simplify proc
e
ss_al
t
ernates_
r
esponse(
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
config: s
i
mpl
i
fy g
i
t_config_
i
nclude()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
Ren
é
Scharfe
pack
-
wri
t
e:
s
implify index_p
a
ck_lockf
i
le u
s
ing sk
i
p_prefix
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-09-02
René Scha
r
fe
con
n
ect: simp
l
ify c
h
eck_ref() using ski
p
_
prefix()
and
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use strbuf_add_abso
l
ute_path() to a
d
d abso
l
ute
p
aths
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
Ren
é
Scharfe
abspath:
conver
t
absolute_p
a
th() to str
b
uf
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scha
r
fe
use
x
getcwd() to set $GIT
_
DIR
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scharf
e
use xgetcwd()
t
o get the current direc
t
ory or
die
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
Ren
é
Scharfe
w
r
a
p
p
e
r:
a
dd
x
getcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
R
e
né Schar
f
e
absp
a
th:
c
onvert rea
l
_
pa
t
h
_internal() to strbu
f
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René Scha
r
fe
abspath:
u
s
e
strbuf_ge
t
cwd() to re
m
e
m
ber original
working
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-26
René
Scharf
e
setup: convert setup_git_d
i
rec
t
or
y
_gently_1
e
t al
.
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
René Scharf
e
wal
k
er: avoid quadratic list insertio
n
in ma
r
k_com
p
l
ete
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-25
R
ené Scharfe
sha1_name: avoi
d
q
uadratic l
i
s
t
ins
e
rtion in handle_one_
r
ef
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-c
o
mmand: i
n
lin
e
prepare_
r
un
_
command_
v
_opt()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
R
ené Scharfe
r
u
n-co
m
mand: call
run_c
o
m
m
and_v
_
opt_cd_env(
)
instead
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Sc
h
a
r
fe
run-command: introduce
c
hild_proce
s
s_init()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-c
o
m
m
and
:
introduc
e
CHILD_PROCESS_I
N
I
T
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
René Scharfe
turn path mac
r
os in
t
o inline func
t
ion
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-18
René Scha
r
fe
clean: use f(void) ins
t
ead of f
(
)
t
o
declare a pointer
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-08-10
René
S
charfe
read-cache: che
c
k fo
r
leading symlinks when r
e
freshing
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René Scharfe
i
nit: avoid superf
l
uous real_path(
)
cal
l
s
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
Re
n
é Scharf
e
unix-
s
ockets: use strbuf_getcwd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-28
René Sc
h
a
rfe
s
t
rbu
f
: add strbuf_get
c
wd()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
René
Scharf
e
use
x
memdupz(
)
to allocat
e
co
p
ies of strings giv
e
n
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
R
e
né
S
charfe
use xcalloc(
)
to allo
c
ate zero-initialize
d
memory
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-21
René Schar
f
e
unix-socket: rem
o
ve stale s
o
cket before callin
g
ch
d
ir()
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
remote-testsvn: use internal argv_array of struct c
h
ild_proc
.
.
.
Signed-off-by: Rene Scharfe <
l.s.r@web.de
>
commit
|
commitdiff
|
tree
next