
    l:i                     @    d dl Z d dlmZ ddlmZ ddlmZ ed        Zy)    N)	decorator   )is_app)shellc                    t        |dd      sy|j                  rd|j                  v rt        j                  d|j                        }|j	                  d      }dj                  d t        j                  |j	                  d	            D              }t        j                  d
j                  |      ||j                        }|j                  |      } | |      S )z?Resolves git aliases and supports testing for both git and hub.githubFztrace: alias expansion:z*trace: alias expansion: ([^ ]*) => ([^
]*)    c              3   F   K   | ]  }t        j                  |        y w)N)r   quote).0parts     K/var/www/html/bot/venv/lib/python3.12/site-packages/thefuck/specific/git.py	<genexpr>zgit_support.<locals>.<genexpr>   s#      O!% #[[. Os   !r   z\b{}\b)script)r   outputresearchgroupjoinr   split_commandsubformatr   update)fncommandr   alias	expansion
new_scripts         r   git_supportr!      s     '5%( ~~3w~~EH">>+Q HH O).)<)<V\\!_)MO O	VVI,,U3YO
..
.3g;    )r   r   utilsr   shellsr   r!    r"   r   <module>r&      s%    	     r"   