Fossil

Changes On Branch NULLSeparated
Login

Changes On Branch NULLSeparated

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

Changes In Branch NULLSeparated Excluding Merge-Ins

This is equivalent to a diff from 461d4f41d5 to 19dfb07279

2020-05-13
11:47
Add the "current_checkout" variable to TH1 prior to running style_header() on some pages. The default skin uses this variable to adjust the meaning of the "File" menu option. ... (check-in: 78abc282df user: drh tags: trunk)
2020-05-12
21:36
Merged in trunk. ... (check-in: a2ec603335 user: stephan tags: forum-edit-deltify)
15:10
Merged in trunk for various menu item fixes before deployment to my server. ... (check-in: 8cc7953b9a user: stephan tags: fileedit-ajaxify)
11:20
Proof of concept for making the "File" menu on the standard menu bar show the files for the currently displayed checkin or branch, rather than always showing the files for "tip". ... (Closed-Leaf check-in: 96e74ad13c user: drh tags: context-dependent-files-menu)
08:48
Merged in trunk. Minor help text corrections for add/rm --reset. ... (check-in: 822f3aee48 user: stephan tags: unaddremove-command)
02:49
merge [trunk] ... (Leaf check-in: 19dfb07279 user: bch tags: NULLSeparated)
00:21
Extra comment in the code for the m=checkin with t=release feature of /timeline. ... (check-in: 461d4f41d5 user: drh tags: trunk)
00:01
Fix broken Annotate and Blame links on the /file page. ... (check-in: 69e596e5d2 user: drh tags: trunk)
2020-04-09
20:16
merge [trunk] ... (check-in: 0b63227882 user: bch tags: NULLSeparated)

Changes to src/checkin.c.
673
674
675
676
677
678
679


680
681
682
683
684
685
686


687
688
689
690
691
692
693
694

695
696
697
698
699
700
701
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706







+
+







+
+








+







**
** Options:
**   --age                 Show when each file was committed.
**   -v|--verbose          Provide extra information about each file.
**   -t                    Sort output in time order.
**   -r VERSION            The specific check-in to list.
**   -R|--repository FILE  Extract info from repository FILE.
**   -0                    Use NULL instead of whitespace to separate
**                         filenames
**
** See also: changes, extras, status
*/
void ls_cmd(void){
  int vid;
  Stmt q;
  int verboseFlag;
  int nullSeparateFlag;
  char separator = '\n';
  int showAge;
  int timeOrder;
  char *zOrderBy = "pathname";
  Blob where;
  int i;
  const char *zName;
  const char *zRev;

  nullSeparateFlag = find_option("0", "0", 0)!=0;
  verboseFlag = find_option("verbose","v", 0)!=0;
  if( !verboseFlag ){
    verboseFlag = find_option("l","l", 0)!=0; /* deprecated */
  }
  showAge = find_option("age",0,0)!=0;
  zRev = find_option("r","r",1);
  timeOrder = find_option("t","t",0)!=0;
790
791
792
793
794
795
796


797
798

799
800

801
802
803
804
805
806
807
795
796
797
798
799
800
801
802
803
804

805
806

807
808
809
810
811
812
813
814







+
+

-
+

-
+







        }
      }else if( renamed ){
        type = "RENAMED    ";
      }else{
        type = "UNCHANGED  ";
      }
    }
    if (nullSeparateFlag) 
      separator='\0';
    if( showAge ){
      fossil_print("%s%s  %s\n", type, db_column_text(&q, 5), zPathname);
      fossil_print("%s%s  %s%c", type, db_column_text(&q, 5), zPathname, separator);
    }else{
      fossil_print("%s%s\n", type, zPathname);
      fossil_print("%s%s%c", type, zPathname, separator);
    }
    free(zFullName);
  }
  db_finalize(&q);
}

/*