=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-163- ($use_pager == 0) ? "cat" : easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:164: `$git_cmd config core.pager` || "less"; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-165- chomp($less); ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-683- ($use_pager == 0) ? "cat" : easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:684: `$git_cmd config core.pager` || "less"; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-685- chomp($less); ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-1103- my @remote_branches = easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:1104: split('\n', `$git_cmd for-each-ref --format '%(refname)' refs/remotes`); easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-1105- @remote_branches = map { m#^refs/remotes/(.*)$# && $1 } @remote_branches; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-1106- my @local_branches = easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:1107: split('\n', `$git_cmd for-each-ref --format '%(refname)' refs/heads`); easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-1108- @local_branches = map { m#^refs/heads/(.*)$# && $1 } @local_branches; ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-1110- # Set branch.@local_branches.rebase to true if branch.autosetuprebse is true easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:1111: my $autosetuprebase = `$git_cmd config --global branch.autosetuprebase`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-1112- chomp($autosetuprebase); ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-1761- ($use_pager == 0) ? "cat" : easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:1762: `$git_cmd config core.pager` || "less"; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-1763- chomp($less); ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-2701- ($use_pager == 0) ? "cat" : easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:2702: `$git_cmd config core.pager` || "less"; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-2703- chomp($less); ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-2907- } else { easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:2908: my @output = `$git_cmd config --get-regexp remote.origin.*`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-2909- $default = "origin" if @output; ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-2939- # from 'git clone git://git.kernel.org/pub/scm/git/git.git'). easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:2940: my @files = `$git_cmd ls-tree -r -l --full-name HEAD`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-2941- my %biggest = (name => '', size => 0); ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-3169- # instead, we just check for the simple case of no branches existing yet. easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:3170: if (!`$git_cmd branch -a`) { easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-3171- die "Error: No recorded commits to show yet.\n"; ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-3203- ($use_pager == 0) ? "cat" : easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:3204: `$git_cmd config core.pager` || "less"; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-3205- chomp($less); ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-3483- # easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:3484: my @output = `$git_cmd config --get-regexp remote.origin.*`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-3485- if (@output) { ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-3501- # easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:3502: my @branches = `$git_cmd branch`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-3503- print " >>Running: '$git_cmd branch'<<\n" if $debug; ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-4993- my @quoted_files = Util::quote_args(@$files); easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:4994: my @unmerged_files = `$git_cmd ls-files --full-name -u -- @quoted_files`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-4995- if (@unmerged_files && $in) { ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-5433- # Make sure user has no staged changes easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:5434: my $output = `$git_cmd diff --cached --quiet`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-5435- die "Aborting: You have staged changes; please commit them first.\n" if $?; ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6046- if (-t STDOUT) { easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:6047: $highlight=`$git_cmd config --get-color color.status.header "red reverse"`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:6048: $reset=`$git_cmd config --get-color "" "reset"`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6049- } ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6078- if (-f "$git_dir/info/ignored-unknown") { easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:6079: my @old_unknown_files = `cat "$git_dir/info/ignored-unknown"`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6080- chomp(@old_unknown_files); ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6591- if ($options{capture_stdout_only}) { easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:6592: $output = `$command`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6593- } else { easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:6594: $output = `$command 2>&1`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6595- } ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6604- } else { easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:6605: system($command); easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6606- $ret = $?; ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6724-sub initial_commit { easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:6725: my @output = `$git_cmd rev-parse --verify -q HEAD`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6726- return $?; ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6737-sub files_modified() { easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:6738: my @output = `$git_cmd status -a`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6739- return $? == 0; ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6745- my @merge_branches = easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:6746: `cat "$git_dir/MERGE_HEAD" | $git_cmd name-rev --stdin`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6747- @merge_branches = map { /^[0-9a-f]* \((.*)\)$/ && $1 } @merge_branches; ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6845- easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:6846: my $default_remote = `$git_cmd config --get branch.$branch.remote`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6847- if ($default_remote) { ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6851- easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:6852: my @output = `$git_cmd config --get-regexp remote\.origin\.*`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-6853- if (@output) { ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7007- ignore_ret => 1); easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:7008: my @unmerged_files = `$git_cmd ls-files --unmerged`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7009- $status{has_new_unknown_files} = ($output =~ /^Newly created unknown files:$/m); ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7019- # easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:7020: my @new_unknown = `(cd "$top_dir" && $git_cmd ls-files --exclude-standard --others --directory --no-empty-directory)`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7021- chomp(@new_unknown); ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7023- -f "$git_dir/info/ignored-unknown") { easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:7024: my @old_unknown_files = `cat "$git_dir/info/ignored-unknown"`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7025- chomp(@old_unknown_files); ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7034- if ($check_for->{no_branch}) { easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:7035: my $rc = system('$git_cmd symbolic-ref -q HEAD >/dev/null'); easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7036- $status{has_no_branch} = $rc >> 8; ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7063- open(OUTPUT, "> $git_dir/info/ignored-unknown"); easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:7064: my @unknown_files = `cd "$top_dir" && $git_cmd ls-files --exclude-standard --others --directory --no-empty-directory`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7065- foreach my $file (@unknown_files) { ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7161- if (-f "$git_dir/MERGE_HEAD") { easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:7162: @merge_branches = `cat "$git_dir/MERGE_HEAD"`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7163- chomp(@merge_branches); ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7172- if (defined $ref2) { easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:7173: @lines = `$git_cmd diff-tree -r $ref1 $ref2 $marker @quoted_files`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7174- } else { easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:7175: @lines = `$git_cmd diff-index --cached $ref1 $marker @quoted_files`; easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7176- } ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7287- # do something like easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:7288: # system("$command hardcoded_arg1 @args") easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7289- # that the @args will get passed correctly to the shell command $command ############################################## easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7326- my @opts = easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:7327: split('\n', `$git_cmd rev-parse --no-revs --flags @quoted_args`); easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7328- my @revs = easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:7329: split('\n', `$git_cmd rev-parse --revs-only @quoted_args`); easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7330- my @files = easygit-0.99/.pc/010_escaped_closing_braces.patch/eg:7331: split('\n', `$git_cmd rev-parse --no-revs --no-flags @quoted_args`); easygit-0.99/.pc/010_escaped_closing_braces.patch/eg-7332- ############################################## easygit-0.99/eg-163- ($use_pager == 0) ? "cat" : easygit-0.99/eg:164: `$git_cmd config core.pager` || "less"; easygit-0.99/eg-165- chomp($less); ############################################## easygit-0.99/eg-683- ($use_pager == 0) ? "cat" : easygit-0.99/eg:684: `$git_cmd config core.pager` || "less"; easygit-0.99/eg-685- chomp($less); ############################################## easygit-0.99/eg-1103- my @remote_branches = easygit-0.99/eg:1104: split('\n', `$git_cmd for-each-ref --format '%(refname)' refs/remotes`); easygit-0.99/eg-1105- @remote_branches = map { m#^refs/remotes/(.*)$# && $1 } @remote_branches; easygit-0.99/eg-1106- my @local_branches = easygit-0.99/eg:1107: split('\n', `$git_cmd for-each-ref --format '%(refname)' refs/heads`); easygit-0.99/eg-1108- @local_branches = map { m#^refs/heads/(.*)$# && $1 } @local_branches; ############################################## easygit-0.99/eg-1110- # Set branch.@local_branches.rebase to true if branch.autosetuprebse is true easygit-0.99/eg:1111: my $autosetuprebase = `$git_cmd config --global branch.autosetuprebase`; easygit-0.99/eg-1112- chomp($autosetuprebase); ############################################## easygit-0.99/eg-1761- ($use_pager == 0) ? "cat" : easygit-0.99/eg:1762: `$git_cmd config core.pager` || "less"; easygit-0.99/eg-1763- chomp($less); ############################################## easygit-0.99/eg-2701- ($use_pager == 0) ? "cat" : easygit-0.99/eg:2702: `$git_cmd config core.pager` || "less"; easygit-0.99/eg-2703- chomp($less); ############################################## easygit-0.99/eg-2907- } else { easygit-0.99/eg:2908: my @output = `$git_cmd config --get-regexp remote.origin.*`; easygit-0.99/eg-2909- $default = "origin" if @output; ############################################## easygit-0.99/eg-2939- # from 'git clone git://git.kernel.org/pub/scm/git/git.git'). easygit-0.99/eg:2940: my @files = `$git_cmd ls-tree -r -l --full-name HEAD`; easygit-0.99/eg-2941- my %biggest = (name => '', size => 0); ############################################## easygit-0.99/eg-3169- # instead, we just check for the simple case of no branches existing yet. easygit-0.99/eg:3170: if (!`$git_cmd branch -a`) { easygit-0.99/eg-3171- die "Error: No recorded commits to show yet.\n"; ############################################## easygit-0.99/eg-3203- ($use_pager == 0) ? "cat" : easygit-0.99/eg:3204: `$git_cmd config core.pager` || "less"; easygit-0.99/eg-3205- chomp($less); ############################################## easygit-0.99/eg-3483- # easygit-0.99/eg:3484: my @output = `$git_cmd config --get-regexp remote.origin.*`; easygit-0.99/eg-3485- if (@output) { ############################################## easygit-0.99/eg-3501- # easygit-0.99/eg:3502: my @branches = `$git_cmd branch`; easygit-0.99/eg-3503- print " >>Running: '$git_cmd branch'<<\n" if $debug; ############################################## easygit-0.99/eg-4993- my @quoted_files = Util::quote_args(@$files); easygit-0.99/eg:4994: my @unmerged_files = `$git_cmd ls-files --full-name -u -- @quoted_files`; easygit-0.99/eg-4995- if (@unmerged_files && $in) { ############################################## easygit-0.99/eg-5433- # Make sure user has no staged changes easygit-0.99/eg:5434: my $output = `$git_cmd diff --cached --quiet`; easygit-0.99/eg-5435- die "Aborting: You have staged changes; please commit them first.\n" if $?; ############################################## easygit-0.99/eg-6046- if (-t STDOUT) { easygit-0.99/eg:6047: $highlight=`$git_cmd config --get-color color.status.header "red reverse"`; easygit-0.99/eg:6048: $reset=`$git_cmd config --get-color "" "reset"`; easygit-0.99/eg-6049- } ############################################## easygit-0.99/eg-6078- if (-f "$git_dir/info/ignored-unknown") { easygit-0.99/eg:6079: my @old_unknown_files = `cat "$git_dir/info/ignored-unknown"`; easygit-0.99/eg-6080- chomp(@old_unknown_files); ############################################## easygit-0.99/eg-6591- if ($options{capture_stdout_only}) { easygit-0.99/eg:6592: $output = `$command`; easygit-0.99/eg-6593- } else { easygit-0.99/eg:6594: $output = `$command 2>&1`; easygit-0.99/eg-6595- } ############################################## easygit-0.99/eg-6604- } else { easygit-0.99/eg:6605: system($command); easygit-0.99/eg-6606- $ret = $?; ############################################## easygit-0.99/eg-6724-sub initial_commit { easygit-0.99/eg:6725: my @output = `$git_cmd rev-parse --verify -q HEAD`; easygit-0.99/eg-6726- return $?; ############################################## easygit-0.99/eg-6737-sub files_modified() { easygit-0.99/eg:6738: my @output = `$git_cmd status -a`; easygit-0.99/eg-6739- return $? == 0; ############################################## easygit-0.99/eg-6745- my @merge_branches = easygit-0.99/eg:6746: `cat "$git_dir/MERGE_HEAD" | $git_cmd name-rev --stdin`; easygit-0.99/eg-6747- @merge_branches = map { /^[0-9a-f]* \((.*)\)$/ && $1 } @merge_branches; ############################################## easygit-0.99/eg-6845- easygit-0.99/eg:6846: my $default_remote = `$git_cmd config --get branch.$branch.remote`; easygit-0.99/eg-6847- if ($default_remote) { ############################################## easygit-0.99/eg-6851- easygit-0.99/eg:6852: my @output = `$git_cmd config --get-regexp remote\.origin\.*`; easygit-0.99/eg-6853- if (@output) { ############################################## easygit-0.99/eg-7007- ignore_ret => 1); easygit-0.99/eg:7008: my @unmerged_files = `$git_cmd ls-files --unmerged`; easygit-0.99/eg-7009- $status{has_new_unknown_files} = ($output =~ /^Newly created unknown files:$/m); ############################################## easygit-0.99/eg-7019- # easygit-0.99/eg:7020: my @new_unknown = `(cd "$top_dir" && $git_cmd ls-files --exclude-standard --others --directory --no-empty-directory)`; easygit-0.99/eg-7021- chomp(@new_unknown); ############################################## easygit-0.99/eg-7023- -f "$git_dir/info/ignored-unknown") { easygit-0.99/eg:7024: my @old_unknown_files = `cat "$git_dir/info/ignored-unknown"`; easygit-0.99/eg-7025- chomp(@old_unknown_files); ############################################## easygit-0.99/eg-7034- if ($check_for->{no_branch}) { easygit-0.99/eg:7035: my $rc = system('$git_cmd symbolic-ref -q HEAD >/dev/null'); easygit-0.99/eg-7036- $status{has_no_branch} = $rc >> 8; ############################################## easygit-0.99/eg-7063- open(OUTPUT, "> $git_dir/info/ignored-unknown"); easygit-0.99/eg:7064: my @unknown_files = `cd "$top_dir" && $git_cmd ls-files --exclude-standard --others --directory --no-empty-directory`; easygit-0.99/eg-7065- foreach my $file (@unknown_files) { ############################################## easygit-0.99/eg-7161- if (-f "$git_dir/MERGE_HEAD") { easygit-0.99/eg:7162: @merge_branches = `cat "$git_dir/MERGE_HEAD"`; easygit-0.99/eg-7163- chomp(@merge_branches); ############################################## easygit-0.99/eg-7172- if (defined $ref2) { easygit-0.99/eg:7173: @lines = `$git_cmd diff-tree -r $ref1 $ref2 $marker @quoted_files`; easygit-0.99/eg-7174- } else { easygit-0.99/eg:7175: @lines = `$git_cmd diff-index --cached $ref1 $marker @quoted_files`; easygit-0.99/eg-7176- } ############################################## easygit-0.99/eg-7287- # do something like easygit-0.99/eg:7288: # system("$command hardcoded_arg1 @args") easygit-0.99/eg-7289- # that the @args will get passed correctly to the shell command $command ############################################## easygit-0.99/eg-7326- my @opts = easygit-0.99/eg:7327: split('\n', `$git_cmd rev-parse --no-revs --flags @quoted_args`); easygit-0.99/eg-7328- my @revs = easygit-0.99/eg:7329: split('\n', `$git_cmd rev-parse --revs-only @quoted_args`); easygit-0.99/eg-7330- my @files = easygit-0.99/eg:7331: split('\n', `$git_cmd rev-parse --no-revs --no-flags @quoted_args`); easygit-0.99/eg-7332-