summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2007-09-30Introduce remove_dir_recursively()Libravatar Johannes Schindelin1-45/+12
2007-09-18Use xmemdupz() in many places.Libravatar Pierre Habouzit1-8/+4
2007-09-05Function for updating refs.Libravatar Carlos Rica1-0/+27
2007-08-10Fix filehandle leak in "git branch -D"Libravatar Alex Riesen1-0/+1
2007-07-29log_ref_write() -- do not chomp reflog message at the first LFLibravatar Junio C Hamano1-16/+28
2007-07-13Make show_rfc2822_date() just another date output format.Libravatar Junio C Hamano1-2/+2
2007-06-26detect close failure on just-written file handlesLibravatar Jim Meyering1-4/+2
2007-06-13More staticLibravatar Junio C Hamano1-1/+1
2007-05-26Move refspec pattern matching to match_refs().Libravatar Daniel Barkalow1-8/+19
2007-05-10git-update-ref: add --no-deref option for overwriting/detaching refLibravatar Sven Verdoolaege1-11/+19
2007-04-21Merge branch 'lt/gitlink'Libravatar Junio C Hamano1-0/+80
2007-04-18refs.c: add a function to sort a ref list, rather then sorting on addLibravatar Julian Phillips1-21/+89
2007-04-17Use const qualifier for 'sha1' parameter in delete_ref functionLibravatar Carlos Rica1-1/+1
2007-04-10Add 'resolve_gitlink_ref()' helper functionLibravatar Linus Torvalds1-0/+80
2007-04-06Make builtin-branch.c handle the git config fileLibravatar Lars Hjemli1-10/+0
2007-04-06rename_ref(): only print a warning when config-file update failsLibravatar Lars Hjemli1-1/+1
2007-03-22update HEAD reflog when branch pointed to by HEAD is directly modifiedLibravatar Nicolas Pitre1-0/+21
2007-03-10Merge branch 'maint'Libravatar Junio C Hamano1-0/+2
2007-03-09Adjust reflog filemode in shared repositoryLibravatar Matthias Kestenholz1-0/+2
2007-03-07Cast 64 bit off_t to 32 bit size_tLibravatar Shawn O. Pearce1-3/+5
2007-03-03Merge branch 'maint'Libravatar Junio C Hamano1-0/+2
2007-03-03Fix a "label defined but unreferenced" warning.Libravatar Ramsay Jones1-0/+2
2007-02-20Mechanical conversion to use prefixcmp()Libravatar Junio C Hamano1-4/+4
2007-02-12for-each-reflog: not having $GIT_DIR/logs directory is not an error.Libravatar Junio C Hamano1-1/+1
2007-02-08for_each_reflog_ent: be forgiving about missing messageLibravatar Johannes Schindelin1-3/+5
2007-02-07create_symref(): create leading directories as needed.Libravatar Junio C Hamano1-0/+3
2007-02-07for-each-reflog: fix case for empty log directoryLibravatar Junio C Hamano1-1/+3
2007-02-03Merge branch 'master' into np/dreflogLibravatar Junio C Hamano1-0/+2
2007-02-03scan reflogs independently from refsLibravatar Nicolas Pitre1-0/+50
2007-01-29lock_any_ref_for_update(): do not accept malformatted refs.Libravatar Junio C Hamano1-0/+2
2007-01-28create_symref(): do not assume pathname from git_path() persists long enoughLibravatar Junio C Hamano1-9/+11
2007-01-28add logref support to git-symbolic-refLibravatar Nicolas Pitre1-2/+12
2007-01-28move create_symref() past log_ref_write()Libravatar Nicolas Pitre1-47/+47
2007-01-28enable separate reflog for HEADLibravatar Nicolas Pitre1-2/+5
2007-01-28lock_ref_sha1_basic(): remember the original name of a ref when resolving itLibravatar Nicolas Pitre1-0/+2
2007-01-28make reflog filename independent from struct ref_lockLibravatar Nicolas Pitre1-20/+20
2007-01-26create_symref: check error return from open().Libravatar Junio C Hamano1-1/+5
2007-01-26Make sure we do not write bogus reflog entries.Libravatar Junio C Hamano1-16/+23
2007-01-25Allow non-developer to clone, checkout and fetch more easily.Libravatar Junio C Hamano1-1/+1
2007-01-19show-branch --reflog: show the reflog message at the top.Libravatar Junio C Hamano1-3/+2
2007-01-19Extend read_ref_at() to be usable from places other than sha1_name.Libravatar Junio C Hamano1-8/+33
2007-01-19refs.c::read_ref_at(): fix bogus munmap() call.Libravatar Junio C Hamano1-3/+5
2007-01-18for_each_reflog_ent: do not leak FILE *Libravatar Junio C Hamano1-3/+4
2007-01-15Solaris 5.8 returns ENOTDIR for inappropriate renames.Libravatar Jason Riedy1-1/+6
2007-01-11Merge branch 'jc/bare'Libravatar Junio C Hamano1-0/+3
2007-01-09Sanitize for_each_reflog_ent()Libravatar Johannes Schindelin1-5/+21
2007-01-08short i/o: fix calls to write to use xwrite or write_in_fullLibravatar Andy Whitcroft1-4/+4
2007-01-08short i/o: fix calls to read to use xread or read_in_fullLibravatar Andy Whitcroft1-1/+1
2007-01-07Introduce is_bare_repository() and core.bare configuration variableLibravatar Junio C Hamano1-1/+1
2007-01-07Move initialization of log_all_ref_updatesLibravatar Junio C Hamano1-0/+3