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
Git 2.3.9
2015-03-10
René Scharfe
us
e
isxdigit()
f
or checki
n
g if a char
a
cter is a hexadecimal
.
.
.
commit
|
commitdiff
|
tree
2015-03-05
René Sc
h
arfe
zlib: initi
a
lize gi
t
_zstr
e
a
m
in git_deflate_
i
nit{,_gzip
.
.
.
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
sha1_nam
e
: use strlc
p
y() to copy strin
g
s
commit
|
commitdiff
|
tree
2015-02-22
Re
n
é
Scha
r
fe
pretty: use
s
ta
r
ts_with(
)
t
o check
for
a
pr
e
fix
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
for-each-ref: us
e
s
k
ip_prefix(
)
t
o
av
o
id dupl
i
cate
.
.
.
commit
|
commitdiff
|
tree
2015-02-22
René Scharfe
connect
:
u
s
e strcmp() for string compar
i
so
n
commit
|
commitdiff
|
tree
2015-02-17
René Scharfe
daemon: use callback to
b
ui
l
d in
t
er
p
olat
e
d path
commit
|
commitdiff
|
tree
2015-02-17
R
ené S
c
harf
e
daemon: lo
o
k up cli
e
n
t
-supplie
d
hos
t
n
ame lazily
commit
|
commitdiff
|
tree
2014-12-29
Ren
é
Scharfe
r
e
fs: plug strb
u
f lea
k
in
lock
_
ref_s
h
a1_basic()
commit
|
commitdiff
|
tree
2014-12-29
René
Scha
r
fe
transport: sim
p
l
ify dup
l
icating a substr
i
ng in transport_get
.
.
.
commit
|
commitdiff
|
tree
2014-12-29
Re
n
é Sch
a
rfe
mer
g
e:
r
e
l
ease strbuf after use i
n
suggest_conflicts()
commit
|
commitdiff
|
tree
2014-12-29
René
S
charfe
c
o
mmit-tree: simplify parsing of option -S using skip_prefix()
commit
|
commitdiff
|
tree
2014-12-12
René Scharfe
use
strbuf_complete_li
n
e() for adding a newline if
.
.
.
commit
|
commitdiff
|
tree
2014-11-17
René Scharfe
use lab
s
()
for v
a
r
iables of
t
ype
long instead of abs()
commit
|
commitdiff
|
tree
2014-11-17
René S
c
h
a
rfe
use labs() for variable
s
of type lon
g
instead
o
f
abs()
commit
|
commitdiff
|
tree
2014-11-10
Re
n
é
S
charfe
run-command: use
v
oid
t
o dec
l
ar
e
that fu
n
cti
o
ns t
a
k
e
.
.
.
commit
|
commitdiff
|
tree
2014-11-10
Re
n
é Scharfe
u
s
e args
m
ember
o
f struct child_process
commit
|
commitdiff
|
tree
2014-11-10
René Scharfe
trai
l
er: us
e
CHILD_PRO
C
ES
S
_I
N
IT in
a
pply_co
m
mand()
commit
|
commitdiff
|
tree
2014-10-28
René Scharf
e
api-
r
un-co
m
ma
n
d: add missing list item marker
commit
|
commitdiff
|
tree
2014-10-28
Re
n
é
S
charfe
use child_process_init() to initializ
e
str
u
ct
child_process
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René Scharfe
receive-pac
k
: avoid minor
leak in cas
e
start_as
y
nc
.
.
.
commit
|
commitdiff
|
tree
2014-10-28
René
Scharf
e
g
r
ep:
a
dd color
.
gre
p
.
m
a
tchc
o
ntext and c
o
lor
.
gre
p
.
ma
t
chsele
c
ted
commit
|
commitdiff
|
tree
2014-10-19
René Scharfe
use env_
a
rray member of
s
tru
c
t chil
d
_process
commit
|
commitdiff
|
tree
2014-10-19
Re
n
é Scharfe
r
un-command: add env_a
r
ra
y
, an o
p
tional arg
v
_array
.
.
.
commit
|
commitdiff
|
tree
2014-10-13
Ren
é
Sch
a
rfe
rec
e
ive-pack: p
l
ug m
i
n
o
r memo
r
y leak
in un
p
ack(
)
commit
|
commitdiff
|
tree
2014-10-07
René Scharfe
use skip_prefix
(
)
to avoid more magic numbers
commit
|
commitdiff
|
tree
2014-10-07
R
en
é
Scha
r
fe
mailsp
l
it: remove unnecessar
y
unlink(2) ca
l
l
commit
|
commitdiff
|
tree
2014-10-07
René Sch
a
rfe
b
u
n
dle: plug minor mem
o
ry leak in
is_tag_
i
n
_
date_
r
ange(
)
commit
|
commitdiff
|
tree
2014-10-01
René S
c
h
ar
f
e
daemon:
r
emove write-only variable maxfd
commit
|
commitdiff
|
tree
2014-10-01
R
e
né Scharfe
daemon: fi
x
error
message aft
e
r bi
n
d()
commit
|
commitdiff
|
tree
2014-10-01
René Scharfe
daemon:
h
andle
gethostbyn
a
me(
)
error
commit
|
commitdiff
|
tree
2014-10-01
R
ené Sch
a
rfe
s
ha1-lookup: hand
l
e duplic
a
t
e
s
i
n
sha1_pos()
commit
|
commitdiff
|
tree
2014-10-01
René Sch
a
rfe
sha1-a
r
ray: a
d
d
test
-
sha1-a
r
r
a
y and basic t
e
s
t
s
commit
|
commitdiff
|
tree
2014-09-30
R
e
né
S
char
f
e
t
0090
:
avoid passing empty
st
r
ing to pri
n
tf %d
commit
|
commitdiff
|
tree
2014-09-22
René Scharfe
remote: simplify match_
n
ame_wi
t
h
_
p
a
tt
e
r
n
() u
s
ing s
t
rbuf
commit
|
commitdiff
|
tree
2014-09-22
R
e
né
Sch
a
rfe
graph: simplify graph_padding_li
n
e()
commit
|
commitdiff
|
tree
2014-09-18
René Scharfe
use REA
L
LOC_
A
R
R
AY for changin
g
the
allo
c
ation size
.
.
.
commit
|
commitdiff
|
tree
2014-09-18
R
ené Scharfe
ad
d
macro REA
L
LOC_ARRAY
commit
|
commitdiff
|
tree
2014-09-15
René Scharfe
repack: call prune_packed_objects() and update_serv
e
r
_
info
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
R
ené Schar
f
e
st
r
bu
f
:
us
e
strbuf_addchars() f
o
r adding a
c
har multiple
.
.
.
commit
|
commitdiff
|
tree
2014-09-08
R
ené Scharfe
s
t
rbuf: export st
r
buf_addchars()
commit
|
commitdiff
|
tree
2014-09-08
R
e
né
S
charfe
trace:
correct trace_strbuf() paramete
r
type for !HAVE_VARIA
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scha
r
fe
i
map-send:
simplify v_issue_imap_cmd() and get_cmd_result
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
R
e
né Scharfe
m
e
rge-tree:
rem
o
ve unused df
_
conflict ar
g
uments
commit
|
commitdiff
|
tree
2014-09-02
R
ené
S
charfe
http-walk
e
r
:
simp
l
ify process_alter
n
ate
s
_res
p
onse(
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
config:
s
i
mplify git_conf
i
g
_
i
nclude()
commit
|
commitdiff
|
tree
2014-09-02
René
Scharfe
pack-
w
rit
e
:
simplify i
n
dex_pack_lockf
i
le using
s
ki
p
_prefix
.
.
.
commit
|
commitdiff
|
tree
2014-09-02
René Scharfe
c
o
n
nect:
simplify
che
c
k_ref() using skip
_
prefix()
and
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use strbuf_add_absolute_path() to
add absolute p
a
ths
commit
|
commitdiff
|
tree
2014-08-26
René Sch
a
r
f
e
a
b
spath
:
convert absolu
t
e_path() to strbuf
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
use xgetcwd()
t
o
set $GIT_DIR
commit
|
commitdiff
|
tree
2014-08-26
René Schar
f
e
us
e
xgetc
w
d
()
t
o
get the current direct
o
ry or die
commit
|
commitdiff
|
tree
2014-08-26
René
S
charfe
wrapper: add xgetcwd
(
)
commit
|
commitdiff
|
tree
2014-08-26
René Sch
a
rfe
a
b
spath: conv
e
rt
r
eal_path_i
n
ternal() to strbuf
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
abspath: use strbuf_getcwd()
t
o
rememb
e
r
o
riginal worki
n
g
.
.
.
commit
|
commitdiff
|
tree
2014-08-26
René Scharfe
s
etup: co
n
ver
t
set
u
p_git_dire
c
tory_g
e
ntl
y
_
1
et al
.
.
.
.
commit
|
commitdiff
|
tree
2014-08-25
R
ené Schar
f
e
walker: avoid quadratic
l
is
t
i
n
sertion
i
n
m
ark_complet
e
commit
|
commitdiff
|
tree
2014-08-25
René
S
charfe
s
ha1_
n
ame: avoid
q
ua
d
ratic l
i
s
t
i
nsertion i
n
ha
n
dle_one_re
f
commit
|
commitdiff
|
tree
2014-08-20
R
e
n
é
Sch
a
rfe
run-command: inline prep
a
re_
r
u
n_comm
a
nd_v_opt()
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
r
un-command:
call run
_
c
o
m
mand_v_opt_cd_en
v
() instead
.
.
.
commit
|
commitdiff
|
tree
2014-08-20
René Scharf
e
r
u
n-command: in
t
r
o
duce c
h
ild
_
pr
o
ce
s
s
_init()
commit
|
commitdiff
|
tree
2014-08-20
René Scharfe
run-command: in
t
ro
d
uce C
H
ILD_P
R
O
C
E
S
S_INIT
commit
|
commitdiff
|
tree
2014-08-18
René S
c
harfe
tur
n
path macros i
n
to inline fu
n
ctio
n
commit
|
commitdiff
|
tree
2014-08-18
René
Scharfe
c
l
ean: us
e
f(void) in
s
te
a
d
of
f
()
to
d
eclare a po
i
nter
.
.
.
commit
|
commitdiff
|
tree
2014-08-10
R
e
né Sch
a
r
fe
read-cac
h
e: check for leading symlinks when refreshing
.
.
.
commit
|
commitdiff
|
tree
2014-07-28
René Scha
r
fe
init: avoid superfluous real_pat
h
() calls
commit
|
commitdiff
|
tree
2014-07-28
René Scharfe
unix-socket
s
: use strb
u
f_getcwd()
commit
|
commitdiff
|
tree
2014-07-28
René Scharfe
strbu
f
: add s
t
r
buf
_
getcwd()
commit
|
commitdiff
|
tree
2014-07-21
René Scharfe
use
x
memdupz()
t
o
allocate copie
s
of strings given
.
.
.
commit
|
commitdiff
|
tree
2014-07-21
R
e
né
S
charfe
use xc
a
l
loc
(
) to allocate zero-initialized memory
commit
|
commitdiff
|
tree
2014-07-21
René Scharf
e
u
n
ix-
s
o
c
ket
:
r
e
move stale
s
ock
e
t before
c
all
i
n
g
c
hdir()
commit
|
commitdiff
|
tree
2014-07-18
R
e
né Scharfe
remote-tests
v
n:
u
se i
n
ternal argv_array of struct child_proc
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
Ren
é
S
c
harfe
bu
n
dle:
u
s
e internal argv_arr
a
y
o
f st
r
u
c
t
c
h
ild_pr
o
c
ess
.
.
.
commit
|
commitdiff
|
tree
2014-07-18
R
e
né Scharfe
fast-import
:
u
se hashcmp()
f
o
r SHA1 has
h
com
p
ari
s
on
commit
|
commitdiff
|
tree
2014-07-18
Re
n
é
Scharfe
tra
n
s
p
ort:
s
implify fetch_o
b
js_v
i
a_rsync()
u
sing argv_arr
a
y
commit
|
commitdiff
|
tree
2014-07-17
René Scharfe
run-com
m
and: use internal argv_array of struct child
_
process
.
.
.
commit
|
commitdiff
|
tree
2014-07-17
Re
n
é Sch
a
rfe
use c
o
mm
i
t_list_count() to count t
h
e members of commit_lists
commit
|
commitdiff
|
tree
2014-07-17
R
e
né Scharfe
s
trbuf: use st
r
buf_addstr() for adding C str
i
ng
s
commit
|
commitdiff
|
tree
2014-07-16
René Sc
h
arfe
annotate:
u
se a
r
gv_array
commit
|
commitdiff
|
tree
2014-07-10
R
ené Scharfe
fsck: simpl
i
fy fsck_co
m
mit_b
u
ffer()
b
y
using commit_list_count()
commit
|
commitdiff
|
tree
2014-07-10
R
ené Scharfe
c
o
mmit: use commi
t
_list_ap
p
en
d
() instea
d
of duplicating
.
.
.
commit
|
commitdiff
|
tree
2014-07-10
Ren
é
S
charfe
merge: simplif
y
merge_triv
i
al(
)
by u
s
i
ng commit_list
_
a
p
pend
(
)
commit
|
commitdiff
|
tree
2014-07-10
René Schar
f
e
u
s
e st
r
buf_
a
ddch fo
r
addi
n
g single chara
c
ters
commit
|
commitdiff
|
tree
2014-07-10
Ren
é
Scharf
e
use
s
trbuf_addbuf for adding strb
u
f
s
commit
|
commitdiff
|
tree
2014-07-08
René
S
charfe
line-log: use commit
_
list
_
append() in
s
tead of duplica
t
ing
.
.
.
commit
|
commitdiff
|
tree
2014-07-08
René Scharfe
diff-
t
ree: call free_co
m
mit_l
i
st() instea
d
o
f dupli
c
at
i
ng
.
.
.
commit
|
commitdiff
|
tree
2014-07-07
R
ené Sc
h
ar
f
e
t5000, t5003: simplify
c
ommit
commit
|
commitdiff
|
tree
2014-07-01
René Scharfe
sh
a
1_f
i
le: avoi
d
overrunni
n
g
a
lternate
o
bj
e
c
t
base
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René Scharf
e
sha1_file: replace PATH_M
A
X b
u
f
f
er wit
h
s
t
rbuf
i
n pr
e
pare_pa
.
.
.
commit
|
commitdiff
|
tree
2014-06-30
René Sc
h
arf
e
wt-
s
t
atus
:
sim
p
l
i
fy
building of
s
u
m
m
ary li
m
it argum
e
nt
commit
|
commitdiff
|
tree
2014-06-30
R
e
né S
c
harfe
wt
-
status
:
u
s
e argv
_
ar
r
ay fo
r
environment
commit
|
commitdiff
|
tree
2014-06-13
R
e
né Scha
r
f
e
blame: simpl
i
fy pr
e
pare_l
i
ne
s
()
commit
|
commitdiff
|
tree
2014-06-13
René Scha
r
fe
b
l
a
m
e: factor out get_next_line()
commit
|
commitdiff
|
tree
2014-06-09
René S
c
harfe
Use start
s
_with() for C strings in
s
t
e
ad
of memcm
p
()
commit
|
commitdiff
|
tree
2014-06-02
René S
c
harf
e
pack-ob
j
ects:
use fr
e
e()+xcalloc() instead o
f
xreal
l
oc
.
.
.
commit
|
commitdiff
|
tree
2014-06-02
René
S
charfe
mai
l
inf
o
:
use strcm
p
() for string compa
r
ison
commit
|
commitdiff
|
tree
2014-04-01
René Sc
h
a
r
fe
r
e
v-parse: fix ty
p
o in ex
a
m
p
l
e on manpage
commit
|
commitdiff
|
tree
2014-03-24
R
ené Scharfe
pickax
e
:
simp
l
ify kwset loop in c
o
n
t
ains()
commit
|
commitdiff
|
tree
2014-03-24
René Sc
h
arf
e
pic
k
axe: call
st
r
len o
n
ly wh
e
n necessary i
n
diffcore_pic
k
axe
.
.
.
commit
|
commitdiff
|
tree
2014-03-24
René Scharfe
pi
c
ka
x
e: move pickaxe() after
p
i
ckax
e
_match()
commit
|
commitdiff
|
tree
next