diff options
Diffstat (limited to 'morphlib/git.py')
-rw-r--r-- | morphlib/git.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/morphlib/git.py b/morphlib/git.py index 6a5a9a47..944ddc30 100644 --- a/morphlib/git.py +++ b/morphlib/git.py @@ -275,15 +275,6 @@ def copy_repository(runcmd, repo, destdir, is_mirror=True): gitcmd(runcmd, 'remote', 'update', 'origin', '--prune', cwd=destdir) -def checkout_ref(runcmd, gitdir, ref): - '''Checks out a specific ref/SHA1 in a git working tree.''' - gitcmd(runcmd, 'checkout', ref, cwd=gitdir) - gd = morphlib.gitdir.GitDirectory(gitdir) - if gd.has_fat(): - gd.fat_init() - gd.fat_pull() - - def index_has_changes(runcmd, gitdir): '''Returns True if there are no staged changes to commit''' try: |