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
t: redirect stderr GIT_TRACE to descriptor 4
2015-02-22
René Scharfe
sha1_na
m
e
:
u
s
e
s
trlcpy() to copy string
s
commit
|
commitdiff
|
tree
2015-02-22
René Scha
r
fe
pretty:
use
starts_w
i
th()
t
o
che
c
k for a prefix
commit
|
commitdiff
|
tree
2015-02-22
René
S
ch
a
rfe
for-e
a
ch-ref: u
s
e ski
p
_pref
i
x()
t
o avoid d
u
pli
c
ate
.
.
.
commit
|
commitdiff
|
tree
2015-02-22
René Schar
f
e
connect:
use
s
trcmp()
f
or stri
n
g
c
o
m
p
arison
commit
|
commitdiff
|
tree
2014-12-29
Ren
é
S
char
f
e
refs: plug strbuf leak
in lock_ref
_
s
h
a
1_basic()
commit
|
commitdiff
|
tree
2014-12-29
R
e
né Scharfe
tra
n
sport: sim
p
lif
y
dup
l
icatin
g
a subst
r
in
g
i
n tr
a
nspo
r
t_get
.
.
.
commit
|
commitdiff
|
tree
2014-12-29
René Scharf
e
m
e
rge:
r
e
lease strbu
f
after
u
s
e i
n
sug
g
est_co
n
f
l
ict
s
()
commit
|
commitdiff
|
tree
2014-12-29
René
Scharfe
com
m
it
-
tree:
simplify
p
arsing o
f
o
p
tio
n
-S using ski
p
_prefix(
)
commit
|
commitdiff
|
tree
2014-12-12
René Scharfe
use strbuf_complete_line() for adding a newline if
.
.
.
commit
|
commitdiff
|
tree
2014-11-17
René S
c
harfe
use labs() for variables of
type
l
ong inste
a
d
of abs()
commit
|
commitdiff
|
tree
2014-11-17
René Scharf
e
us
e
labs() for vari
a
bl
e
s of type long instead of abs()
commit
|
commitdiff
|
tree
2014-11-10
René Scharf
e
run-c
o
mmand:
u
s
e
void to declare
t
hat funct
i
ons ta
k
e
.
.
.
commit
|
commitdiff
|
tree
2014-11-10
René Scharf
e
u
se args mem
b
e
r
o
f stru
c
t child_pr
o
cess
commit
|
commitdiff
|
tree
2014-11-10
René
S
c
ha
r
fe
trailer:
u
se
C
HIL
D
_PROCESS_INIT in apply
_
command()
commit
|
commitdiff
|
tree
2014-10-28
R
e
né Scharfe
api-run-command: add mis
s
ing l
i
st item
m
arker
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
use child_process_init(
)
t
o initializ
e
struct
c
hi
l
d_process
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
R
e
n
é
Sc
h
arfe
receive-pack: av
o
id minor leak i
n
case
start
_
async
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
R
e
né Scharfe
grep: add color
.
g
r
ep
.
m
a
t
chcontext and color
.
grep
.
matc
h
se
l
e
c
ted
commit
|
commitdiff
|
tree
2014-10-19
R
ené
S
char
f
e
use env_array m
e
mber of str
u
ct child_
p
rocess
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
run-comman
d
: add env_array, an
optional
a
rgv_arra
y
.
.
.
commit
|
commitdiff
|
tree
2014-10-13
R
ené
S
ch
a
rfe
receive-pack: plug mi
n
or
m
e
m
o
r
y leak in un
p
ac
k
()
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
use skip_prefix() to
a
void m
o
re
m
agic num
b
ers
commit
|
commitdiff
|
tree
2014-10-07
R
e
n
é S
c
ha
r
fe
mails
p
lit: rem
o
v
e
unnece
s
s
a
ry
u
nlink(2) call
commit
|
commitdiff
|
tree
2014-10-07
René Scharf
e
bundle: plug mino
r
m
e
mor
y
leak
i
n
is_tag_in_da
t
e_range()
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daemon:
r
emove wr
i
te-only
v
ariable m
a
xfd
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daemon: fix error message af
t
er bind()
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daem
o
n: ha
n
dl
e
get
h
ostby
n
a
me() error
commit
|
commitdiff
|
tree
2014-10-01
René Scharf
e
s
ha1-l
o
okup
:
handle duplic
a
tes in sha1_pos()
commit
|
commitdiff
|
tree
2014-10-01
René Scha
r
fe
sha1-ar
r
ay:
add
t
est-sha1-array and basic te
s
ts
commit
|
commitdiff
|
tree
2014-09-30
Re
n
é S
c
harfe
t0090: avoid
p
a
ssing empty string to pr
i
ntf %d
commit
|
commitdiff
|
tree
2014-09-22
René
S
char
f
e
remote: si
m
plify match_name_with_pattern() usin
g
strbuf
commit
|
commitdiff
|
tree
2014-09-22
R
e
n
é
S
c
harf
e
graph: s
i
mpl
i
fy
g
raph_paddi
n
g_
l
i
n
e()
commit
|
commitdiff
|
tree
2014-09-18
René Scharfe
use R
E
ALLOC_AR
R
AY for changing the
a
llocation size
.
.
.
commit
|
commitdiff
|
tree
2014-09-18
René
S
charfe
add macro R
E
AL
L
OC_
A
RRAY
commit
|
commitdiff
|
tree
2014-09-15
René S
c
harfe
r
e
pack:
c
all prune_packed_
o
bje
c
ts() and
updat
e
_server_info
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
Ren
é
Scharfe
strbu
f
: u
s
e
st
r
buf_addchars() for adding a cha
r
mult
i
ple
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
René Scharfe
st
r
b
uf:
export s
t
rbuf_addchars()
commit
|
commitdiff
|
tree
2014-09-08
René Sc
h
arfe
t
r
a
ce: correct tr
a
ce_strb
u
f(
)
pa
r
amete
r
type for !HAVE_VARIA
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
R
ené
S
char
f
e
imap
-
send: simpli
f
y v_i
s
s
ue_imap_cmd() and get_cmd_result
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
Re
n
é Schar
f
e
m
er
g
e-tree: rem
o
v
e un
u
sed df_conf
l
ict a
r
g
u
ments
commit
|
commitdiff
|
tree
2014-09-02
René Sc
h
arfe
http-
w
alker: simplify p
r
ocess_al
t
ernates_
r
esponse(
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
R
e
né S
c
ha
r
f
e
config
:
simplify git_config_in
c
lude()
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
pac
k
-write: simpli
f
y
index_
p
ack_lockfile
using s
k
ip_prefix
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
connect: simpli
f
y check_ref() using ski
p
_pr
e
fix(
)
and
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
René
S
charfe
u
se strbuf_add_absolute_pa
t
h() t
o
add absolute paths
commit
|
commitdiff
|
tree
2014-08-26
René Sch
a
rfe
abspath: co
n
vert
a
bsolute_path() to strbuf
commit
|
commitdiff
|
tree
2014-08-26
René Sc
h
arfe
use
x
get
c
wd() to se
t
$
GIT
_
DIR
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use
x
get
c
wd
(
) to
get t
h
e current directory or die
commit
|
commitdiff
|
tree
2014-08-26
René
Scharfe
wrapper:
add xgetcwd()
commit
|
commitdiff
|
tree
2014-08-26
René Scharf
e
absp
a
th: convert real_
p
ath_internal() to strbuf
commit
|
commitdiff
|
tree
2014-08-26
René Sch
a
rfe
abspath: use strb
u
f
_
getcwd() to remem
b
er orig
i
na
l
working
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
René S
c
harfe
setup: convert
s
etup_git_d
i
rectory_gen
t
ly_
1
et a
l
.
.
.
.
commit
|
commitdiff
|
tree
2014-08-25
Ren
é
Scharfe
walk
e
r: avoid quadratic list inser
t
ion in
m
ark_compl
e
te
commit
|
commitdiff
|
tree
2014-08-25
René
Scharfe
s
ha1_name: avoi
d
quad
r
a
t
ic
li
s
t insertion in handle_on
e
_ref
commit
|
commitdiff
|
tree
2014-08-20
R
ené S
c
harfe
run-comm
a
nd:
inline prepare_run_command_v_opt()
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-command:
call
run_com
m
a
n
d
_
v_opt_cd_en
v
() i
n
stead
.
.
.
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
ru
n
-co
m
man
d
: in
t
r
o
d
u
ce child_process_init()
commit
|
commitdiff
|
tree
2014-08-20
René Scharf
e
run-command: introd
u
ce CH
I
LD_PROC
E
SS_INIT
commit
|
commitdiff
|
tree
2014-08-18
René
Sch
a
rfe
turn path mac
r
os in
t
o
i
nli
n
e
function
commit
|
commitdiff
|
tree
2014-08-18
R
ené S
c
har
f
e
c
l
ean
:
us
e
f(void) instead
o
f f
(
) t
o
declare a
p
ointer
.
.
.
commit
|
commitdiff
|
tree
2014-08-10
René
S
charfe
r
e
ad-cache: c
h
eck for leading symlin
k
s
w
hen
r
efreshing
.
.
.
commit
|
commitdiff
|
tree
2014-07-28
René
S
charfe
init: av
o
i
d
superfluous real_p
a
th() calls
commit
|
commitdiff
|
tree
2014-07-28
René
Scharfe
u
n
i
x-so
c
kets: use str
b
uf_
g
etcwd()
commit
|
commitdiff
|
tree
2014-07-28
R
en
é
S
c
h
arfe
strbuf: add
strbuf_getcwd()
commit
|
commitdiff
|
tree
2014-07-21
Re
n
é Sc
h
a
r
f
e
u
s
e
x
memd
u
pz() to allocate copies
o
f st
r
i
n
gs
giv
e
n
.
.
.
commit
|
commitdiff
|
tree
2014-07-21
René S
c
har
f
e
us
e
xcall
o
c() to allocate zero-
i
n
i
tialized memory
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
unix-socket
:
remove stal
e
socket
b
e
f
ore calling c
h
dir(
)
commit
|
commitdiff
|
tree
2014-07-18
Ren
é
Sch
a
rfe
re
m
ote-testsvn: use i
n
t
e
rnal
ar
g
v_array of
stru
c
t chi
l
d_proc
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
René Scharfe
bundle:
use i
n
t
ernal
arg
v
_array of
s
truct child_pro
c
es
s
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
R
e
né Scharfe
fast-im
p
ort: use has
h
cmp()
for SHA1 ha
s
h comparison
commit
|
commitdiff
|
tree
2014-07-18
René
Scharfe
transport:
s
impli
f
y fetc
h
_objs_via_rsync() us
i
ng argv_array
commit
|
commitdiff
|
tree
2014-07-17
René Schar
f
e
r
un-command: use inter
n
al argv
_
array of
s
truct child_p
r
ocess
.
.
.
commit
|
commitdiff
|
tree
2014-07-17
René S
c
h
a
rfe
use comm
i
t
_list_count() to count th
e
members of
com
m
it_l
i
sts
commit
|
commitdiff
|
tree
2014-07-17
R
e
né Scharfe
st
r
b
u
f:
u
se strbuf_addstr
(
) for
a
d
ding C
s
tr
i
n
gs
commit
|
commitdiff
|
tree
2014-07-16
René S
c
harfe
annot
a
te: use argv_array
commit
|
commitdiff
|
tree
2014-07-10
R
e
né
S
charf
e
fsck: s
i
m
pl
i
fy fs
c
k_commi
t
_buffer() by using commit_l
i
st_cou
n
t()
commit
|
commitdiff
|
tree
2014-07-10
René Schar
f
e
comm
i
t: use comm
i
t_list_append() inst
e
ad of duplicating
.
.
.
commit
|
commitdiff
|
tree
2014-07-10
R
ené
Scharfe
me
r
g
e
: simplify merge_trivial() by using com
m
it_list
_
append
(
)
commit
|
commitdiff
|
tree
2014-07-10
René Scharfe
use strb
u
f
_
addch
f
or add
i
ng singl
e
charac
t
ers
commit
|
commitdiff
|
tree
2014-07-10
René Sch
a
rfe
use strbuf_addbuf for adding strb
u
fs
commit
|
commitdiff
|
tree
2014-07-08
René Sch
a
rfe
line-log: us
e
commit_list_ap
p
en
d
() instea
d
of dup
l
icating
.
.
.
commit
|
commitdiff
|
tree
2014-07-08
Ren
é
Scharfe
diff-tre
e
: call free_c
o
mmit_lis
t
() instead of duplic
a
ting
.
.
.
commit
|
commitdiff
|
tree
2014-07-07
René Sch
a
rfe
t5000, t5003: si
m
plify com
m
i
t
commit
|
commitdiff
|
tree
2014-07-01
René Scharfe
s
h
a1_file: a
v
oid overru
n
ni
n
g alt
e
rnate object base
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René Scharfe
s
h
a
1_f
i
le: r
e
place PATH_MAX bu
f
f
e
r with strbuf in prepare_pa
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René
S
c
h
arfe
w
t
-status:
s
impli
f
y building o
f
summary limit argument
commit
|
commitdiff
|
tree
2014-06-30
René Scharfe
w
t-st
a
t
u
s: use argv_array for
e
n
vironment
commit
|
commitdiff
|
tree
2014-06-13
René Scharfe
bl
a
me: simplify pr
e
pa
r
e_line
s
(
)
commit
|
commitdiff
|
tree
2014-06-13
René
Sch
a
rf
e
blame: factor
o
ut get_next_line()
commit
|
commitdiff
|
tree
2014-06-09
René Scharf
e
Use start
s
_with(
)
for C str
i
ngs instead
of memcmp()
commit
|
commitdiff
|
tree
2014-06-02
René
S
cha
r
fe
pack-objects: use
free()+x
c
alloc() instead of xreallo
c
.
.
.
commit
|
commitdiff
|
tree
2014-06-02
René Scharfe
m
ail
i
n
f
o: use strcmp() f
o
r
s
tring comparison
commit
|
commitdiff
|
tree
2014-04-01
René Scha
r
fe
rev-parse:
fix typo in
example
o
n
m
a
npage
commit
|
commitdiff
|
tree
2014-03-24
René
S
char
f
e
pickaxe: simplif
y
k
wset loop in con
t
ains
(
)
commit
|
commitdiff
|
tree
2014-03-24
René Schar
f
e
pickaxe:
c
all st
r
len only when necessary
i
n dif
f
core_
p
ickaxe
.
.
.
commit
|
commitdiff
|
tree
2014-03-24
Ren
é
Scha
r
fe
pickaxe: move pickaxe()
a
fter pick
a
x
e
_matc
h
()
commit
|
commitdiff
|
tree
2014-03-24
Re
n
é
Scha
r
fe
p
ickaxe: merge diff
c
ore_pickaxe_grep() and diffcore_pickaxe_
.
.
.
commit
|
commitdiff
|
tree
2014-03-24
René Scha
r
fe
p
i
ckaxe: honor -i
w
hen used with -S and --pic
k
a
xe-re
g
ex
commit
|
commitdiff
|
tree
2014-03-24
René Scha
r
fe
t4209: u
s
e hel
p
e
r
functi
o
ns to test
-
-au
t
hor
commit
|
commitdiff
|
tree
2014-03-24
René Scharfe
t4209: use helper functions to te
s
t --gr
e
p
commit
|
commitdiff
|
tree
next