summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2008-10-30Use git_pathdup instead of xstrdup(git_path(...))Libravatar Alex Riesen1-1/+1
2008-10-30Fix potentially dangerous use of git_path in ref.cLibravatar Alex Riesen1-3/+5
2008-10-30git branch -m: forbid renaming of a symrefLibravatar Miklos Vajna1-16/+13
2008-10-26rename_ref(): handle the case when the reflog of a ref does not existLibravatar Miklos Vajna1-1/+1
2008-10-26Fix git branch -m for symrefs.Libravatar Miklos Vajna1-22/+37
2008-10-21Merge branch 'jc/maint-co-track'Libravatar Junio C Hamano1-3/+6
2008-10-19Enhance hold_lock_file_for_{update,append}() APILibravatar Junio C Hamano1-3/+6
2008-09-09refs: improve comments about "reading" argument of "resolve_ref"Libravatar Christian Couder1-7/+13
2008-07-09Merge branch 'maint'Libravatar Junio C Hamano1-1/+1
2008-07-08avoid null SHA1 in oldest reflogLibravatar Jeff King1-0/+4
2008-07-08make deleting a missing ref more quietLibravatar Jeff King1-1/+1
2008-05-25Merge branch 'db/clone-in-c'Libravatar Junio C Hamano1-0/+18
2008-05-05Merge branch 'lh/git-file'Libravatar Junio C Hamano1-3/+14
2008-05-04Allow for having for_each_ref() list extra refsLibravatar Daniel Barkalow1-0/+18
2008-04-29Make read_in_full() and write_in_full() consistent with xread() and xwrite()Libravatar Heikki Orsila1-1/+2
2008-04-09Teach resolve_gitlink_ref() about the .git fileLibravatar Lars Hjemli1-3/+14
2008-03-03Merge commit '74359821' into js/reflog-deleteLibravatar Junio C Hamano1-6/+21
2008-02-24Optimize peel_ref for the current ref of a for_each_ref callbackLibravatar Shawn O. Pearce1-5/+20
2008-02-24Protect peel_ref fallback case from NULL parse_object resultLibravatar Shawn O. Pearce1-1/+1
2008-02-22refs.c: make close_ref() and commit_ref() non-staticLibravatar Brandon Casey1-2/+2
2008-01-16refs.c: rework ref_locks by abstracting from underlying struct lock_fileLibravatar Brandon Casey1-3/+18
2008-01-16Improve use of lockfile APILibravatar Brandon Casey1-8/+4
2008-01-16Be more careful about updating refsLibravatar Linus Torvalds1-0/+19
2008-01-02Update callers of check_ref_format()Libravatar Junio C Hamano1-3/+3
2008-01-02lock_any_ref_for_update(): reject wildcard return from check_ref_formatLibravatar Junio C Hamano1-9/+18
2007-12-09Re-fix "builtin-commit: fix --signoff"Libravatar Junio C Hamano1-1/+1
2007-12-04Merge branch 'sp/refspec-match'Libravatar Junio C Hamano1-0/+31
2007-11-24Merge branch 'jk/send-pack'Libravatar Junio C Hamano1-0/+8
2007-11-18refactor fetch's ref matching to use refname_match()Libravatar Steffen Prohaska1-0/+7
2007-11-18add refname_match()Libravatar Steffen Prohaska1-0/+24
2007-11-18make "find_ref_by_name" a public functionLibravatar Jeff King1-0/+8
2007-11-15refs.c: Remove unused get_ref_sha1()Libravatar Johannes Sixt1-12/+0
2007-10-16Merge branch 'master' into db/fetch-packLibravatar Shawn O. Pearce1-8/+4
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