Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2005-11-15 21:24:19 +0300
committerJunio C Hamano <junkio@cox.net>2005-11-15 22:42:29 +0300
commitf8348be3be8493a62110a09ab0343213990b416b (patch)
treeefad0bc70473bdc02b8ac6a5e5f001519f1d5dfa /symbolic-ref.c
parent4a4e6fd74f7d4564ed43eaaf59b6bd70c1959f1a (diff)
Add config variable core.symrefsonly
This allows you to force git to avoid symlinks for refs. Just add something like [core] symrefsonly = true to .git/config. DonĀ“t forget to "git checkout your_branch", or it does not do anything... Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'symbolic-ref.c')
-rw-r--r--symbolic-ref.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/symbolic-ref.c b/symbolic-ref.c
index a72d7accb1..193c87c174 100644
--- a/symbolic-ref.c
+++ b/symbolic-ref.c
@@ -20,6 +20,7 @@ static void check_symref(const char *HEAD)
int main(int argc, const char **argv)
{
setup_git_directory();
+ git_config(git_default_config);
switch (argc) {
case 2:
check_symref(argv[1]);