169 Commits (daa0cc9a92c9c2c714aa5f7da6d0ff65b93e0698)

Author SHA1 Message Date
Jeff King d1a4489a56 avoid null SHA1 in oldest reflog 17 years ago
Jeff King 0b294c0abf make deleting a missing ref more quiet 17 years ago
Daniel Barkalow e142a3c61d Allow for having for_each_ref() list extra refs 17 years ago
Heikki Orsila 0104ca09e3 Make read_in_full() and write_in_full() consistent with xread() and xwrite() 17 years ago
Lars Hjemli 842abf06f3 Teach resolve_gitlink_ref() about the .git file 17 years ago
Shawn O. Pearce 0ae91be0e1 Optimize peel_ref for the current ref of a for_each_ref callback 17 years ago
Shawn O. Pearce 8c87dc77ae Protect peel_ref fallback case from NULL parse_object result 17 years ago
Brandon Casey 435fc8523f refs.c: make close_ref() and commit_ref() non-static 17 years ago
Brandon Casey b531394d58 refs.c: rework ref_locks by abstracting from underlying struct lock_file 17 years ago
Brandon Casey 4ed7cd3ab0 Improve use of lockfile API 17 years ago
Linus Torvalds c3b0dec509 Be more careful about updating refs 17 years ago
Junio C Hamano 257f3020f6 Update callers of check_ref_format() 17 years ago
Junio C Hamano 5f7b202a7f lock_any_ref_for_update(): reject wildcard return from check_ref_format 17 years ago
Junio C Hamano 774751a8bc Re-fix "builtin-commit: fix --signoff" 17 years ago
Steffen Prohaska 605b4978a1 refactor fetch's ref matching to use refname_match() 17 years ago
Steffen Prohaska 79803322c1 add refname_match() 17 years ago
Jeff King cda69f481d make "find_ref_by_name" a public function 17 years ago
Johannes Sixt 549799b4a1 refs.c: Remove unused get_ref_sha1() 17 years ago
Johannes Schindelin 7155b727c9 Introduce remove_dir_recursively() 17 years ago
Pierre Habouzit 182af8343c Use xmemdupz() in many places. 18 years ago
Carlos Rica 3d9f037c60 Function for updating refs. 18 years ago
Alex Riesen cbbb218f8b Fix filehandle leak in "git branch -D" 18 years ago
Junio C Hamano 0ec29a4760 log_ref_write() -- do not chomp reflog message at the first LF 18 years ago
Junio C Hamano 73013afd14 Make show_rfc2822_date() just another date output format. 18 years ago
Jim Meyering 91c8d5905c detect close failure on just-written file handles 18 years ago
Junio C Hamano 4175e9e3a8 More static 18 years ago
Daniel Barkalow 8558fd9ece Move refspec pattern matching to match_refs(). 18 years ago
Sven Verdoolaege 68db31cc28 git-update-ref: add --no-deref option for overwriting/detaching ref 18 years ago
Julian Phillips c774aab98c refs.c: add a function to sort a ref list, rather then sorting on add 18 years ago
Carlos Rica 1401f46bb4 Use const qualifier for 'sha1' parameter in delete_ref function 18 years ago
Linus Torvalds 0ebde32c87 Add 'resolve_gitlink_ref()' helper function 18 years ago
Lars Hjemli 19eba1515a Make builtin-branch.c handle the git config file 18 years ago
Lars Hjemli d26f9fef47 rename_ref(): only print a warning when config-file update fails 18 years ago
Nicolas Pitre 605fac8b5b update HEAD reflog when branch pointed to by HEAD is directly modified 18 years ago
Matthias Kestenholz 443b92b6e5 Adjust reflog filemode in shared repository 18 years ago
Shawn O. Pearce dc49cd769b Cast 64 bit off_t to 32 bit size_t 18 years ago
Ramsay Jones ee96d11beb Fix a "label defined but unreferenced" warning. 18 years ago
Junio C Hamano cc44c7655f Mechanical conversion to use prefixcmp() 18 years ago
Junio C Hamano acb39f64c6 for-each-reflog: not having $GIT_DIR/logs directory is not an error. 18 years ago
Johannes Schindelin b4dd485696 for_each_reflog_ent: be forgiving about missing message 18 years ago
Junio C Hamano d48744d1a8 create_symref(): create leading directories as needed. 18 years ago
Junio C Hamano fcee5a145d for-each-reflog: fix case for empty log directory 18 years ago
Nicolas Pitre eb8381c885 scan reflogs independently from refs 18 years ago
Junio C Hamano a2f9fe92eb lock_any_ref_for_update(): do not accept malformatted refs. 18 years ago
Junio C Hamano 47fc52e287 create_symref(): do not assume pathname from git_path() persists long enough 18 years ago
Nicolas Pitre 8b5157e407 add logref support to git-symbolic-ref 18 years ago
Nicolas Pitre 41b625b047 move create_symref() past log_ref_write() 18 years ago
Nicolas Pitre bd104db164 enable separate reflog for HEAD 18 years ago
Nicolas Pitre 1655707c9e lock_ref_sha1_basic(): remember the original name of a ref when resolving it 18 years ago
Nicolas Pitre 9a13f0b71b make reflog filename independent from struct ref_lock 18 years ago