
    g"                        g d Z dZddlmZmZmZmZmZmZm	Z	 erddl
mZ ddlZddlmZ ddlmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z% ddl&m'Z' 	 dd	l(m)Z) dd
l*m+Z+ ddl,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7 ddl8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZA ddlBmCZCmDZDmEZEmFZFmGZGmHZH ddlImJZJmKZK ddlLmMZM ddlNmOZO ddlPmQZQmRZRmSZSmTZT ddlUmVZVmWZWmZmXZXmYZYmZZZm[Z[ ddl\m]Z]m^Z^m_Z_m`Z`maZambZb degdegddfdZhdegdefdZies[[eiZjdakddee'   ddfdZl	  el        y# e$ r'Zc edecj                  j                  dec      ecdZc[cww xY w# em$ rZc eddj                  ec            ecdZc[cww xY w) )NActorAmbiguousObjectNameBadName	BadObjectBadObjectTypeBaseIndexEntryBlob
BlobFilterBlockingLockFile
CacheErrorCheckoutErrorCommandErrorCommitDiffDiffConstants	DiffIndexDiffable	FetchInfoGitGitCmdObjectDBGitCommandErrorGitCommandNotFoundGitConfigParserGitDBGitErrorHEADHeadHookExecutionErrorINDEX
IndexEntry	IndexFileIndexObjectInvalidDBRootInvalidGitRepositoryErrorListLockFile	NULL_TREENoSuchPathErrorODBErrorObjectOptional
ParseErrorPathLikePushInfoRefLogRefLogEntry	ReferenceRemoteRemoteProgressRemoteReferenceRepoRepositoryDirtyError
RootModuleRootUpdateProgressSequence	StageTypeStats	SubmoduleSymbolicReferenceTYPE_CHECKINGTag	TagObjectTagReferenceTreeTreeModifierTupleUnionUnmergedEntriesErrorUnsafeOptionErrorUnsafeProtocolErrorUnsupportedOperationUpdateProgressWorkTreeRepositoryUnsupportedrefreshremove_password_if_presentrmtreesafe_decode
to_hex_shaz3.1.44    )Anyr$   r*   r8   r=   rC   rD   )
ModuleTypeN)rO   )r   r   r   r   r   r   r   r   r   r   r   r"   r#   r'   r(   r+   r5   rE   rF   rG   rH   rJ   )r,   )rN   )r   )r   r   r!   r)   r6   r7   r;   r?   rA   rB   rI   )	r   r   r.   r/   r0   r3   r<   r>   r@   )r   r&   r   r   r   r   )r   r   )r   )r4   )r   r-   r1   r2   )r   r	   r   r   r    r9   util)r   r
   r%   r:   rL   rM   z: messagefullnamereturnrR   c                 d    dd l }t        j                  | t        d       |j	                  |      S )NrP      )
stacklevel)	importlibwarningswarnDeprecationWarningimport_module)rT   rU   rZ   s      A/var/www/openai/venv/lib/python3.12/site-packages/git/__init__.py_warned_importr`      s'    MM'-!<""8,,    namec                     | dk(  rt        dd      S h ddfh ddffD ]/  \  }}| |vr| d	|  }t        t         d	|  d
| d| d|      c S  t        dt        d|       )NrS   aO  The expression `git.util` and the import `from git import util` actually reference git.index.util, and not the git.util module accessed in `from git.util import XYZ` or `sys.modules["git.util"]`. This potentially confusing behavior is currently preserved for compatibility, but may be changed in the future and should not be relied on.zgit.index.util)rU   >   logtagheadsymbolic	referencezgit.refs>   funtypbasez	git.index.z is a private alias of z' and subject to immediate removal. Use z	 instead.zmodule z has no attribute )r`   __name__AttributeError)rb   namesprefixrU   s       r_   _getattrrq      s     v~A
 &
 	
 
9*E	-v uXQtf%j$6xj A&&.Zy:
 	
 78,.@I
JJra   pathc                 d    da t        j                  |       syt        j                         syda y)a  Convenience method for setting the git executable path.

    :param path:
        Optional path to the Git executable. If not absolute, it is resolved
        immediately, relative to the current directory.

    :note:
        The `path` parameter is usually omitted and cannot be used to specify a custom
        command whose location is looked up in a path search on each call. See
        :meth:`Git.refresh <git.cmd.Git.refresh>` for details on how to achieve this.

    :note:
        This calls :meth:`Git.refresh <git.cmd.Git.refresh>` and sets other global
        configuration according to the effect of doing so. As such, this function should
        usually be used instead of using :meth:`Git.refresh <git.cmd.Git.refresh>` or
        :meth:`FetchInfo.refresh <git.remote.FetchInfo.refresh>` directly.

    :note:
        This function is called automatically, with no arguments, at import time.
    Frr   NT)GIT_OKr   rK   r   rt   s    r_   rK   rK     s,    , F;;D!Fra   zFailed to initialize: {0})N)o__all____version__typingrQ   r$   r*   r8   r=   rC   rD   typesrR   r[   
gitdb.utilrO   git.excr   r   r   r   r   r   r   r   r   r   r   r"   r#   r'   r(   r+   r5   rE   rF   rG   rH   rJ   	git.typesr,   
git.compatrN   
git.configr   git.objectsr   r   r!   r)   r6   r7   r;   r?   rA   rB   rI   git.refsr   r   r.   r/   r0   r3   r<   r>   r@   git.diffr   r&   r   r   r   r   git.dbr   r   git.cmdr   git.repor4   
git.remoter   r-   r1   r2   	git.indexr   r	   r   r    r9   rS   git.utilr   r
   r%   r:   rL   rM   _excImportError	__class__rm   strr`   rq   __getattr__ru   rK   	Exceptionformat ra   r_   <module>r      sz  Ob  M M M   !     0 ;L&*   
 
 
  -FF
 
 
 -C -3 -< -K3 K3 K> 6 	 K 
(8$  @JIa  L
$.."9"94@
AtKLb  J
188>
?TIJs1   "BD E E
#"EE
E/E**E/