aboutsummaryrefslogtreecommitdiffstats
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2006-10-03lock_ref_sha1_basic does not remove empty directories on BSDDennis Stosberg1-0/+6
2006-09-02Replace uses of strdup with xstrdup.Shawn Pearce1-2/+2
2006-08-27free(NULL) is perfectly valid.Junio C Hamano1-4/+2
2006-08-23Convert memcpy(a,b,20) to hashcpy(a,b).Shawn Pearce1-1/+1
2006-08-17Do not use memcmp(sha1_1, sha1_2, 20) with hardcoded length.David Rientjes1-4/+4
2006-08-12Better error message when we are unable to lock the index fileJunio C Hamano1-7/+1
2006-08-11drop length argument of has_extensionRene Scharfe1-1/+1
2006-08-10Add has_extension()Rene Scharfe1-1/+1
2006-07-28Display an error from update-ref if target ref name is invalid.Shawn Pearce1-0/+5
2006-07-10Allow user.name and user.email to drive reflog entry.Shawn Pearce1-1/+0
2006-07-09Fix typos involving the word 'commit'Alp Toker1-6/+6
2006-06-09shared repository - add a few missing calls to adjust_shared_perm().Junio C Hamano1-0/+5
2006-06-06ref-log: style fixes.Junio C Hamano1-8/+11
2006-06-06refs.c: convert it to use lockfile interface.Junio C Hamano1-11/+10
2006-05-19Correct force_write bug in refs.cShawn Pearce1-1/+1
2006-05-19Log ref updates made by fetch.Shawn Pearce1-2/+3
2006-05-19Force writing ref if it doesn't exist.Shawn Pearce1-1/+3
2006-05-19General ref log reading improvements.Shawn Pearce1-14/+40
2006-05-17Fix ref log parsing so it works properly.Shawn Pearce1-1/+1
2006-05-17Support 'master@2 hours ago' syntaxShawn Pearce1-0/+53
2006-05-17Log ref updates to logs/refs/<ref>Shawn Pearce1-0/+56
2006-05-17Improve abstraction of ref lock/write.Shawn Pearce1-125/+111
2006-05-17Remove unnecessary local in get_ref_sha1.Shawn Pearce1-4/+1
2006-05-14Add "--branches", "--tags" and "--remotes" options to git-rev-parse.Sean1-4/+19
2006-05-02core.prefersymlinkrefs: use symlinks for .git/HEADJunio C Hamano1-2/+2
2006-03-09refs.c::do_for_each_ref(): Finish error message lines with "\n"Junio C Hamano1-3/+3
2006-03-01Warn about invalid refsJohannes Schindelin1-2/+7
2006-02-22Give no terminating LF to error() function.Junio C Hamano1-1/+1
2006-01-19Disable USE_SYMLINK_HEAD by defaultPavel Roskin1-5/+1
2005-12-17Revert "We do not like "HEAD" as a new branch name"Junio C Hamano1-5/+0
2005-12-17Revert "refs.c: off-by-one fix."Junio C Hamano1-5/+2
2005-12-16Forbid pattern maching characters in refnames.Junio C Hamano1-1/+3
2005-12-15refs.c: off-by-one fix.Junio C Hamano1-2/+5
2005-12-15We do not like "HEAD" as a new branch nameJohannes Schindelin1-0/+5
2005-12-07refs.c: make sure leading directories exist before writing a ref.Junio C Hamano1-0/+4
2005-11-19Do not DWIM in userpath library under strict mode.Junio C Hamano1-40/+0
2005-11-15Add config variable core.symrefsonlyJohannes Schindelin1-4/+6
2005-10-25create_symref: if symlink fails, fall back to writing a "symbolic ref"Johannes Schindelin1-5/+7
2005-10-15git-check-ref-format: reject funny ref names.Junio C Hamano1-9/+46
2005-10-14Unlocalized isspace and friendsLinus Torvalds1-1/+0
2005-10-05[PATCH] Fix symbolic ref validationJonas Fonseca1-1/+1
2005-10-01Add git-symbolic-refJunio C Hamano1-0/+77
2005-10-01Use resolve_ref() to implement read_ref().Junio C Hamano1-27/+62
2005-10-01[PATCH] Allow reading "symbolic refs" that point to other refsLinus Torvalds1-33/+40
2005-08-16[PATCH] Make do_each_ref() follow symlinks.Matt Draisey1-1/+1
2005-08-09[PATCH] -Werror fixesTimo Sirainen1-3/+3
2005-07-08Make "for_each_ref()" always use the "canonical" refname.Linus Torvalds1-8/+7
2005-07-05Fix silly thinko in "head_ref()"Linus Torvalds1-2/+2
2005-07-05Add "git_path()" and "head_ref()" helper functions.Linus Torvalds1-0/+9
2005-07-04Clean up output of "for_each_ref()" when GIT_DIR is "."Linus Torvalds1-0/+5
2005-07-03Fix up "for_each_ref()" to be more usable, and use it in git-fsck-cacheLinus Torvalds1-5/+5
2005-07-02Generalize the "show each ref" code in receice-packLinus Torvalds1-0/+65
2005-06-06[PATCH] Operations on refsDaniel Barkalow1-0/+173