Skip to content

Support Cygwin's Git on Windows #533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Oct 22, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
helper: minor fix prefix of temp-dirs
  • Loading branch information
ankostis committed Oct 17, 2016
commit 08e0d5f107da2e354a182207d5732b0e48535b66
4 changes: 2 additions & 2 deletions git/test/lib/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def repo_creator(self):
if bare:
prefix = ''
# END handle prefix
repo_dir = tempfile.mktemp("%sbare_%s" % (prefix, func.__name__))
repo_dir = tempfile.mktemp(prefix="%sbare_%s" % (prefix, func.__name__))
rw_repo = self.rorepo.clone(repo_dir, shared=True, bare=bare, n=True)

rw_repo.head.commit = rw_repo.commit(working_tree_ref)
Expand Down Expand Up @@ -248,7 +248,7 @@ def argument_passer(func):
@wraps(func)
def remote_repo_creator(self):
rw_daemon_repo_dir = tempfile.mktemp(prefix="daemon_repo-%s-" % func.__name__)
rw_repo_dir = tempfile.mktemp("daemon_cloned_repo-%s-" % func.__name__)
rw_repo_dir = tempfile.mktemp(prefix="daemon_cloned_repo-%s-" % func.__name__)

rw_daemon_repo = self.rorepo.clone(rw_daemon_repo_dir, shared=True, bare=True)
# recursive alternates info ?
Expand Down