mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
@@ -1,4 +1,4 @@
|
||||
From 33b47b9b1b7ff02d3b04da8d6f763fe744aa39d8 Mon Sep 17 00:00:00 2001
|
||||
From fc9ad1e70a926bf499369ffdb4423acb15eeb8a4 Mon Sep 17 00:00:00 2001
|
||||
From: Ingo Weinhold <ingo_weinhold@gmx.de>
|
||||
Date: Tue, 13 Aug 2013 08:07:25 +0200
|
||||
Subject: git-web--browse.sh: use "open" on Haiku
|
||||
@@ -20,17 +20,17 @@ index ae15253..1f6e306 100755
|
||||
for i in $browser_candidates; do
|
||||
init_browser_path $i
|
||||
--
|
||||
2.2.2
|
||||
2.7.0
|
||||
|
||||
|
||||
From e3bdc3cfdf6d91d622e9f047bb727272ab8528f5 Mon Sep 17 00:00:00 2001
|
||||
From 5fcb76ee57c563a202ba82baabf45b98254ac4ea Mon Sep 17 00:00:00 2001
|
||||
From: Ingo Weinhold <ingo_weinhold@gmx.de>
|
||||
Date: Mon, 19 Jan 2015 15:37:16 -0500
|
||||
Subject: On Haiku use the user settings directory instead of HOME
|
||||
|
||||
|
||||
diff --git a/path.c b/path.c
|
||||
index 38f2ebd..9c7cb48 100644
|
||||
index 3cd155e..a258488 100644
|
||||
--- a/path.c
|
||||
+++ b/path.c
|
||||
@@ -6,6 +6,11 @@
|
||||
@@ -45,7 +45,7 @@ index 38f2ebd..9c7cb48 100644
|
||||
static int get_st_mode_bits(const char *path, int *mode)
|
||||
{
|
||||
struct stat st;
|
||||
@@ -946,10 +951,18 @@ char *xdg_config_home(const char *filename)
|
||||
@@ -1186,10 +1191,18 @@ char *xdg_config_home(const char *filename)
|
||||
{
|
||||
const char *home, *config_home;
|
||||
|
||||
@@ -65,17 +65,17 @@ index 38f2ebd..9c7cb48 100644
|
||||
home = getenv("HOME");
|
||||
if (home)
|
||||
--
|
||||
2.2.2
|
||||
2.7.0
|
||||
|
||||
|
||||
From 34967add7a2fefa52b1a2b005745e17d1712545b Mon Sep 17 00:00:00 2001
|
||||
From b5c943af488c6432f4cafda86b2cf36cbb1397a4 Mon Sep 17 00:00:00 2001
|
||||
From: Oliver Tappe <zooey@hirschkaefer.de>
|
||||
Date: Mon, 19 Jan 2015 15:50:09 -0500
|
||||
Subject: Ensure config-directory exists before using it.
|
||||
|
||||
|
||||
diff --git a/config.c b/config.c
|
||||
index 248a21a..a04d467 100644
|
||||
index 86a5eb2..fee1d81 100644
|
||||
--- a/config.c
|
||||
+++ b/config.c
|
||||
@@ -1958,6 +1958,7 @@ int git_config_set_multivar_in_file(const char *config_filename,
|
||||
@@ -100,5 +100,29 @@ index 248a21a..a04d467 100644
|
||||
* The lock serves a purpose in addition to locking: the new
|
||||
* contents of .git/config will be written into it.
|
||||
--
|
||||
2.2.2
|
||||
2.7.0
|
||||
|
||||
|
||||
From 381c60e6253fdd4df55e32df25f470e0fa58efec Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Sun, 14 Feb 2016 10:32:12 +0100
|
||||
Subject: Move credential cache to the config directory.
|
||||
|
||||
Do not clutter the home dir.
|
||||
|
||||
diff --git a/credential-cache.c b/credential-cache.c
|
||||
index f4afdc6..19a150e 100644
|
||||
--- a/credential-cache.c
|
||||
+++ b/credential-cache.c
|
||||
@@ -105,7 +105,7 @@ int main(int argc, const char **argv)
|
||||
op = argv[0];
|
||||
|
||||
if (!socket_path)
|
||||
- socket_path = expand_user_path("~/.git-credential-cache/socket");
|
||||
+ socket_path = xdg_config_home("credential-cache/socket");
|
||||
if (!socket_path)
|
||||
die("unable to find a suitable socket path; use --socket");
|
||||
|
||||
--
|
||||
2.7.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user