summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2007-04-21Merge branch 'lt/gitlink'Junio C Hamano1-0/+80
2007-04-18refs.c: add a function to sort a ref list, rather then sorting on addJulian Phillips1-21/+89
2007-04-17Use const qualifier for 'sha1' parameter in delete_ref functionCarlos Rica1-1/+1
2007-04-10Add 'resolve_gitlink_ref()' helper functionLinus Torvalds1-0/+80
2007-04-06Make builtin-branch.c handle the git config fileLars Hjemli1-10/+0
2007-04-06rename_ref(): only print a warning when config-file update failsLars Hjemli1-1/+1
2007-03-22update HEAD reflog when branch pointed to by HEAD is directly modifiedNicolas Pitre1-0/+21
2007-03-10Merge branch 'maint'Junio C Hamano1-0/+2
2007-03-09Adjust reflog filemode in shared repositoryMatthias Kestenholz1-0/+2
2007-03-07Cast 64 bit off_t to 32 bit size_tShawn O. Pearce1-3/+5
2007-03-03Merge branch 'maint'Junio C Hamano1-0/+2
2007-03-03Fix a "label defined but unreferenced" warning.Ramsay Jones1-0/+2
2007-02-20Mechanical conversion to use prefixcmp()Junio C Hamano1-4/+4
2007-02-12for-each-reflog: not having $GIT_DIR/logs directory is not an error.Junio C Hamano1-1/+1
2007-02-08for_each_reflog_ent: be forgiving about missing messageJohannes Schindelin1-3/+5
2007-02-07create_symref(): create leading directories as needed.Junio C Hamano1-0/+3
2007-02-07for-each-reflog: fix case for empty log directoryJunio C Hamano1-1/+3
2007-02-03Merge branch 'master' into np/dreflogJunio C Hamano1-0/+2
2007-02-03scan reflogs independently from refsNicolas Pitre1-0/+50
2007-01-29lock_any_ref_for_update(): do not accept malformatted refs.Junio C Hamano1-0/+2
2007-01-28create_symref(): do not assume pathname from git_path() persists long enoughJunio C Hamano1-9/+11
2007-01-28add logref support to git-symbolic-refNicolas Pitre1-2/+12
2007-01-28move create_symref() past log_ref_write()Nicolas Pitre1-47/+47
2007-01-28enable separate reflog for HEADNicolas Pitre1-2/+5
2007-01-28lock_ref_sha1_basic(): remember the original name of a ref when resolving itNicolas Pitre1-0/+2
2007-01-28make reflog filename independent from struct ref_lockNicolas Pitre1-20/+20
2007-01-26create_symref: check error return from open().Junio C Hamano1-1/+5
2007-01-26Make sure we do not write bogus reflog entries.Junio C Hamano1-16/+23
2007-01-25Allow non-developer to clone, checkout and fetch more easily.Junio C Hamano1-1/+1
2007-01-19show-branch --reflog: show the reflog message at the top.Junio C Hamano1-3/+2
2007-01-19Extend read_ref_at() to be usable from places other than sha1_name.Junio C Hamano1-8/+33
2007-01-19refs.c::read_ref_at(): fix bogus munmap() call.Junio C Hamano1-3/+5
2007-01-18for_each_reflog_ent: do not leak FILE *Junio C Hamano1-3/+4
2007-01-15Solaris 5.8 returns ENOTDIR for inappropriate renames.Jason Riedy1-1/+6
2007-01-11Merge branch 'jc/bare'Junio C Hamano1-0/+3
2007-01-09Sanitize for_each_reflog_ent()Johannes Schindelin1-5/+21
2007-01-08short i/o: fix calls to write to use xwrite or write_in_fullAndy Whitcroft1-4/+4
2007-01-08short i/o: fix calls to read to use xread or read_in_fullAndy Whitcroft1-1/+1
2007-01-07Introduce is_bare_repository() and core.bare configuration variableJunio C Hamano1-1/+1
2007-01-07Move initialization of log_all_ref_updatesJunio C Hamano1-0/+3
2007-01-07Merge branch 'sp/mmap'Junio C Hamano1-1/+1
2007-01-04Merge branch 'maint'Junio C Hamano1-1/+0
2007-01-03Fix infinite loop when deleting multiple packed refs.Junio C Hamano1-1/+0
2006-12-29Replace mmap with xmmap, better handling MAP_FAILED.Shawn O. Pearce1-1/+1
2006-12-28core.logallrefupdates: log remotes/ tracking branches.Junio C Hamano1-1/+2
2006-12-20reflog: fix warning message.Junio C Hamano1-3/+9
2006-12-20add for_each_reflog_ent() iteratorJunio C Hamano1-0/+25
2006-12-20simplify inclusion of system header files.Junio C Hamano1-3/+1
2006-12-16git-branch: rename config vars branch.<branch>.*, tooJohannes Schindelin1-0/+10
2006-12-13Merge branch 'lh/branch-rename'Junio C Hamano1-23/+142