388 Commits (caa47adc5a68045bfb9e88fcfee0e50589d129df)

Author SHA1 Message Date
Jeff King a78c188a32 fast-import: simplify allocation in start_packfile 9 years ago
Jeff King 50a6c8efa2 use st_add and st_mult for allocation size computation 9 years ago
Jeff King b32fa95fd8 convert trivial cases to ALLOC_ARRAY 9 years ago
Junio C Hamano 8f309aeb82 strbuf: introduce strbuf_getline_{lf,nul}() 9 years ago
SZEDER Gábor 08a3651fe7 Make error message after failing commit_lock_file() less confusing 9 years ago
Jeff King eddda37144 convert strncpy to memcpy 10 years ago
Jeff King 34fa79a6cd prefer memcpy to strcpy 10 years ago
Jeff King c7ab0ba340 avoid sprintf and strcpy with flex arrays 10 years ago
Jeff King ef1286d3c0 use xsnprintf for generating git object headers 10 years ago
Jeff King 547ed71636 fast-import: switch crash-report date to iso8601 10 years ago
Jeff King fcd12db6af prefer git_pathdup to git_path in some possibly-dangerous cases 10 years ago
Junio C Hamano cb5add5868 sha1_file.c: rename move_temp_to_file() to finalize_object_file() 10 years ago
Mike Hommey 0df3245721 fast-import: do less work when given "from" matches current branch head 10 years ago
Michael Haggerty 28c7b1f7b7 fast-import: add a get-mark command 10 years ago
Jeff King a5481a6c94 convert "enum date_mode" into a struct 10 years ago
Michael Haggerty a1c9eb918b update_ref(): don't read old reference value before delete 10 years ago
René Scharfe 9a6f1287fb zlib: initialize git_zstream in git_deflate_init{,_gzip,_raw} 10 years ago
Michael Haggerty 1d147bdff0 ref_transaction_update(): remove "have_old" parameter 10 years ago
Jeff King 5e915f3085 fast-import: avoid running end_packfile recursively 10 years ago
Nguyễn Thái Ngọc Duy aaa26805ad fast-import: use git_path() for accessing .git dir instead of get_git_dir() 10 years ago
Nguyễn Thái Ngọc Duy dcf692625a path.c: make get_pathname() call sites return const char * 10 years ago
Ronnie Sahlberg db7516ab9f refs.c: pass the ref log message to _create/delete/update instead of _commit 11 years ago
Michael Haggerty f70f0565b3 dump_marks(): reimplement using fdopen_lock_file() 11 years ago
Michael Haggerty 697cc8efd9 lockfile.h: extract new header file for the functions in lockfile.c 11 years ago
Michael Haggerty 32c3ec258e dump_marks(): remove a redundant call to rollback_lock_file() 11 years ago
René Scharfe 2756ca4347 use REALLOC_ARRAY for changing the allocation size of arrays 11 years ago
Ronnie Sahlberg 3f09ba7543 fast-import.c: use a ref transaction when dumping tags 11 years ago
Ronnie Sahlberg de7e86f522 fast-import.c: change update_branch to use ref transactions 11 years ago
Maxim Bublis 2668d692eb fast-import: fix segfault in store_tree() 11 years ago
Jeff King c33ddc2e33 date: use strbufs in date-formatting functions 11 years ago
Jeff King c252785982 fast-import: fix buffer overflow in dump_tags 11 years ago
Jeff King 3c078b9c86 fast-import: clean up pack_data pointer in end_packfile 11 years ago
Tanay Abhra 536900e5b2 fast-import.c: replace `git_config()` with `git_config_get_*()` family 11 years ago
René Scharfe 14576df044 fast-import: use hashcmp() for SHA1 hash comparison 11 years ago
Jeff King e814c39c2f fast-import: refactor parsing of spaces 11 years ago
Jeff King 97313bef2a fast-import: use skip_prefix for parsing input 11 years ago
Jeff King ae021d8791 use skip_prefix to avoid magic numbers 11 years ago
Jeff King ff45c0d4a3 fast-import: fix read of uninitialized argv memory 11 years ago
Felipe Contreras 4ee1b225b9 fast-import: add support to delete refs 11 years ago
Rohit Mani 2c5495f7b6 use strchrnul() in place of strchr() and strlen() 11 years ago
Christian Couder 5955654823 replace {pre,suf}fixcmp() with {starts,ends}_with() 11 years ago
Richard Hansen a8a5406ab3 use 'commit-ish' instead of 'committish' 12 years ago
Richard Hansen bb8040f9f9 use 'tree-ish' instead of 'treeish' 12 years ago
Brad King 9bbb0fa1fd refs: report ref type from lock_any_ref_for_update 12 years ago
John Keeping 62bfa11cc9 fast-import: allow moving the root tree 12 years ago
John Keeping e0eb6b9720 fast-import: allow ls or filecopy of the root tree 12 years ago
John Keeping adefdba536 fast-import: set valid mode on root tree in "ls" 12 years ago
Felipe Contreras 45c5d4a56b fast-{import,export}: use get_sha1_hex() to read from marks file 12 years ago
Ramsay Jones 84d32bf767 sparse: Fix mingw_main() argument number/type errors 12 years ago
Ramsay Jones 0a34594c83 fast-import: Fix an gcc -Wuninitialized warning 12 years ago