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
receive-pack: simplify keep_arg computation
2015-10-05
Jeff King
receive-
p
ac
k
:
s
implify keep_arg
c
omputat
i
on
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Je
f
f
King
a
v
oid spr
i
ntf and
strcpy with flex arrays
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
King
use
alloc_ref rather than hand-allocating "stru
c
t ref"
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
co
l
or:
a
dd overflo
w
che
c
ks
for parsi
n
g
c
olo
r
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
drop strcpy in fa
v
or
of
raw sha1_to_h
e
x
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
us
e
s
ha
1
_to_hex_r() instead of strc
p
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
King
daemon: use cld->env_array whe
n
re-spawning
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
stat_t
r
acking_info:
c
onvert to argv_arr
a
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
http-push: u
s
e an a
r
gv
_
a
rray for setup_revisions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff Ki
n
g
fetch-pack: use argv_array for
i
ndex-pack / un
p
ack
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jef
f
Kin
g
diagnose_inva
l
id_index_path
:
us
e
strbuf
t
o avoid s
t
rcpy
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
write_lo
o
se_object:
convert to strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
remove_leading
_
path: use a st
r
bu
f
for int
e
rnal s
t
orage
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
enter_repo
:
convert fixed-size buffers t
o
strbufs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff
K
ing
merge-recursive: c
o
nvert malloc / strcpy to strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff K
i
ng
transport
:
u
s
e strbufs for s
t
at
u
s ta
b
le
"
quickref"
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
apply: convert
r
oot string to s
t
r
buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
J
e
ff King
init: use s
t
rbufs to store paths
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
probe_utf8_pa
t
hname_c
o
m
p
osi
t
ion:
u
se in
t
ernal strbu
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-10-05
Jeff King
precomp
o
se_utf8: drop unu
s
e
d variab
l
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
s
h
a
1_get
_
pack
_
n
a
me: use a strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
http
-
walker: store
u
rl in a
s
trbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
http
-
p
u
sh: us
e
strbuf
i
nste
a
d of fwrite_buf
f
er
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
remote-ext: simplify git pkt-line generation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Kin
g
upload-
a
rchive: conver
t
sprintf
to
s
trbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
Kin
g
resolve_ref: u
s
e strbufs for
i
nternal buffers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
r
e
ad_rem
o
tes
_
fi
l
e: s
i
m
p
l
ify st
r
ing
handling
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
r
ead_b
r
anc
h
es_file: sim
p
lify
string handlin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
ma
i
lmap
:
replace s
t
rcpy wit
h
xstrdup
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
ff King
h
elp:
d
rop
p
repend function in f
a
vor of xstrfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
King
ref-filter: drop
sprint
f
an
d
st
r
cpy calls
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff
Kin
g
use strip
_
suff
i
x
a
nd xstrfmt to
r
e
pla
c
e suffix
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
fetch: replace static buffer wit
h
xstrfmt
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
config: use xst
r
fm
t
in no
r
mal
i
ze_value
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
replace trivial malloc
+
sprint
f
/ strcpy cal
l
s w
i
th
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
receive-
p
ack: co
n
vert strncpy
t
o
xs
n
p
r
i
n
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
http-push: replace strcat with
x
sn
p
rintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff Ki
n
g
add_pack
e
d_git: con
v
ert s
t
rcpy into xsnprin
t
f
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
en
t
ry
.
c: convert strcpy to x
s
nprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
King
grep: use xsnprintf to
format failure me
s
s
a
ge
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f King
compat
/
hstrerror: c
o
nvert
sprintf to
s
npri
n
tf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
stop_progress_msg: convert
spr
i
ntf t
o
xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff
K
ing
find_short_
o
bject_filename: conver
t
spr
i
ntf to xsnpr
i
ntf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
use xs
n
printf for gene
r
ating git ob
j
ect headers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
archive-tar: use
xsnprin
t
f for triv
i
a
l
f
orm
a
ttin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
convert trivi
a
l sprintf / strcpy
cal
l
s to xsnprintf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff K
i
ng
co
m
pat/inet_nto
p
:
fix
off-b
y
-o
n
e in ine
t
_n
t
op
4
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
e
f
f Ki
n
g
test-dump-cache-tree: avoid overflow of
c
a
c
h
e-tree
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
progr
e
ss
:
store thr
o
ughput display
in a strbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
trace: use strbuf
f
or quote_crnl outp
u
t
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Je
f
f
King
mailsp
l
it: make PATH_MAX buffers dynamic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
fsck: use
strbuf to generat
e
alternate dir
e
ctories
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add ree
n
tr
a
nt variants o
f
sha1_to_he
x
a
n
d find_unique_abbr
e
v
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
st
r
buf: make
strbuf_c
o
mplete_line mo
r
e gen
e
ric
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add git_path_buf hel
p
er func
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
add
x
snp
r
intf helper function
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff King
fsck: don't fsck alternates
for connectivity-only che
c
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
J
eff K
i
ng
archive-tar: fix
m
inor indentation
v
i
o
lation
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jeff King
mai
l
split
:
fix FI
L
E* leak in split_maildir
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-25
Jef
f
King
show-
b
ranch: av
o
id segfault
with --reflog of
u
n
b
orn
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff K
i
ng
show-br
a
nch:
use
a
strb
u
f for refl
o
g descriptions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
read_in
f
o_alte
r
nates: handle p
a
t
h
s larger than P
A
TH_MAX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff
K
ing
notes:
u
se a strb
u
f i
n
a
d
d_non_no
t
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-04
Jeff King
ver
i
fy_absent:
allow f
i
lenames longer
t
han P
A
TH_MAX
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-03
Jeff King
pack-proto
c
ol: clarify
LF-handlin
g
in PKT
-
LINE
(
)
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-09-01
Jeff King
rerere: rele
a
s
e
l
ockfile in non-wr
i
ti
n
g
f
unctions
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-31
J
e
ff
King
log: diagnose empty HEAD mo
r
e clearly
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
rev-list: ma
k
e it obvious that we
d
o
not
support n
o
t
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-24
Jeff King
config:
s
ilence warnin
g
s f
o
r
c
o
mmand names with invalid
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff
K
i
n
g
get_urlmatch: avoid use
l
ess strbu
f
w
r
i
te
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Je
f
f
K
i
ng
forma
t
_
c
onfig: sim
p
lify buffer handlin
g
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-20
Jeff King
format_config: don't
init s
t
rbuf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff King
vre
p
o
r
tf:
a
v
oid intermedi
a
te buffer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-11
Jeff
K
ing
vreportf: report to a
r
bitra
r
y fil
e
handl
e
s
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff Ki
n
g
m
emoize c
o
mmon g
i
t
-pa
t
h
"const
a
nt" fi
l
es
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
e
f
f King
ge
t
_repo_
p
ath: ref
a
ctor path-alloca
t
ion
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
find_hoo
k
: keep our own static bu
f
fer
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
refs
.
c:
r
emove_empty_dir
e
ctories
c
an take a s
t
r
buf
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
K
ing
refs
.
c: avoid
g
it_path
as
s
ignment in loc
k
_r
e
f_sha1_
b
a
s
ic
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c: avoid
repeated git
_
path calls in rename_tmp_log
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
refs
.
c: simpli
f
y s
t
rbuf
s
in reflog se
t
up an
d
writ
i
ng
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
K
ing
path
.
c
:
drop git_pat
h
_su
b
module
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
refs
.
c: remove extr
a
git_path calls from read
_
loose_refs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
remote
.
c
: drop extrane
o
us local variab
l
e
from migrate_file
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
King
prefer mkp
a
t
h
d
u
p to mkpa
t
h
i
n
a
ss
i
gn
m
ents
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff King
prefer git_pathdup t
o
git_pa
t
h
i
n
some poss
i
bl
y
-danger
o
u
s
.
.
.
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff K
i
ng
add_to_alt
e
r
nate
s
_file: don't
a
d
d duplicate entries
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jef
f
King
t5700
:
mode
r
nize
s
t
yl
e
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Je
f
f K
i
n
g
cache
.
h:
c
omplete set of git_path_submodule helpers
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
J
eff King
cache
.
h: c
l
arify
d
ocumentat
i
on for git_path, et al
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
ing
clone: use computed length in gu
e
ss_dir_name
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-10
Jeff
K
i
ng
c
lon
e
: ad
d
tests
for
o
u
tput dir
e
cto
r
y
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
J
e
ff King
test-l
i
b: disable trace
w
hen
te
s
t is
n
ot verbose
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Jeff
K
i
ng
test-lib: turn off "-x" tracing during
chain-
l
int c
h
eck
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-08-07
Je
f
f King
refs: sup
p
ort negative
tran
s
f
er
.
hideRefs
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-28
Je
f
f
King
docs/conf
i
g
.
txt: reorder hid
e
Re
f
s config
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-21
J
e
f
f Kin
g
strbu
f
:
make strb
u
f_addftime more
r
o
bust
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-08
J
e
ff King
check_a
n
d
_
freshen_f
i
le
:
f
ix reve
r
s
e
d su
c
cess-chec
k
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-07-01
Jeff King
rev-list: disab
l
e --use-bitma
p
-index when pru
n
ing commits
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
2015-06-29
Je
f
f
Ki
n
g
introduce "
f
ormat" date-mode
Signed-off-by:
Jeff King
<peff@peff.net>
commit
|
commitdiff
|
tree
next