<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>10883</bug_id>
          
          <creation_ts>2007-02-20 16:56:27 +0300</creation_ts>
          <short_desc>git not works with GIT_DIR and repository without .git</short_desc>
          <delta_ts>2008-07-21 12:35:45 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>git</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="nbr">nbr</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45598</commentid>
    <comment_count>0</comment_count>
    <who name="nbr">nbr</who>
    <bug_when>2007-02-20 16:56:34 +0300</bug_when>
    <thetext>Git dishonours GIT_DIR where gitdir doesn&apos;t contain .git
at all. Note: git-repo-config core.bare false didn&apos;t help also.
Steps to Reproduce:
1.Make GIT_DIR pointing to some directory, not starting with &quot;.&quot;
2.cd to some other dir
3.git-reset -hard
Actual Results:  
fatal: /usr/bin/git-reset cannot be used without a working tree.

Expected Results:  
some other tree filled with working dir contents</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45602</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2007-02-20 18:12:25 +0300</bug_when>
    <thetext>git-reset --hard cannot be used without a working tree.
When you specify GIT_DIR out of your working tree, git-reset
just fails to find it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>