From dfafb03bdce0fd83e374a901ccbc43af02aec88b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Fri, 7 Oct 2011 00:44:41 +0200 Subject: [PATCH] Move the transports to their own directory --- CMakeLists.txt | 4 ++-- src/{transport_git.c => transports/git.c} | 0 src/{transport-http.c => transports/http.c} | 0 src/{transport_local.c => transports/local.c} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename src/{transport_git.c => transports/git.c} (100%) rename src/{transport-http.c => transports/http.c} (100%) rename src/{transport_local.c => transports/local.c} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index fff125df9..ba646b61f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -91,9 +91,9 @@ FILE(GLOB SRC_H include/git2/*.h) # On Windows use specific platform sources IF (WIN32 AND NOT CYGWIN) ADD_DEFINITIONS(-DWIN32 -D_DEBUG) - FILE(GLOB SRC src/*.c src/win32/*.c) + FILE(GLOB SRC src/*.c src/transports/*.c src/win32/*.c) ELSE() - FILE(GLOB SRC src/*.c src/unix/*.c) + FILE(GLOB SRC src/*.c src/transports/*.c src/unix/*.c) ENDIF () # Compile and link libgit2 diff --git a/src/transport_git.c b/src/transports/git.c similarity index 100% rename from src/transport_git.c rename to src/transports/git.c diff --git a/src/transport-http.c b/src/transports/http.c similarity index 100% rename from src/transport-http.c rename to src/transports/http.c diff --git a/src/transport_local.c b/src/transports/local.c similarity index 100% rename from src/transport_local.c rename to src/transports/local.c