CVSTrac Legacy Code

Check-in [4277e77c9b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:(#802) oops, we don't use that yet, if ever.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 4277e77c9b7a75c07a711ee450c8c51f53691fc4
User & Date: cpb 2009-06-19 13:56:04
Context
2009-10-24
11:23
(#810) identify milestones in the ticket history check-in: c0f2ef4f33 user: cpb tags: trunk
2009-06-19
13:56
(#802) oops, we don't use that yet, if ever. check-in: 4277e77c9b user: cpb tags: trunk
2009-06-04
16:42
(#800) end transaction when no GIT repo defined check-in: 0991d26569 user: cpb tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to git.c.

735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
  FILE *in;
  char zLine[PATH_MAX*2];
  char *zCmd;

  if( zTreeish==0 || zTreeish[0]==0 || zPath==0 || zPath[0]==0 ) return 0;
    
  zCmd = mprintf("GIT_DIR='%s' git ls-tree -r '%s' '%s'", zGitDir,
                 quotable_string(zTreeish), shellable_string(zPath));
  in = popen(zCmd,"r");
  if( in==0 ){
    err_pipe("Reading tree",zCmd);
    return 0;
  }
  free(zCmd);








|







735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
  FILE *in;
  char zLine[PATH_MAX*2];
  char *zCmd;

  if( zTreeish==0 || zTreeish[0]==0 || zPath==0 || zPath[0]==0 ) return 0;
    
  zCmd = mprintf("GIT_DIR='%s' git ls-tree -r '%s' '%s'", zGitDir,
                 quotable_string(zTreeish), quotable_string(zPath));
  in = popen(zCmd,"r");
  if( in==0 ){
    err_pipe("Reading tree",zCmd);
    return 0;
  }
  free(zCmd);