Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Documentation/user-manual.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,13 @@ index 65898fa..b002dc6 100644
--- a/init-db.c
+++ b/init-db.c
@@ -7,7 +7,7 @@

int main(int argc, char **argv)
{
- char *sha1_dir = getenv(DB_ENVIRONMENT), *path;
+ char *sha1_dir, *path;
int len, i;

if (mkdir(".git", 0755) < 0) {
------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion compat/regex/regcomp.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ const size_t __re_error_msgid_idx[] attribute_hidden =

/* For ZOS USS we must define btowc */

wchar_t
wchar_t
btowc (int c)
{
wchar_t wtmp[2];
Expand Down
2 changes: 1 addition & 1 deletion git-gui/lib/diff.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ proc reshow_diff {{after {}}} {

proc force_diff_encoding {enc} {
global current_diff_path

if {$current_diff_path ne {}} {
force_path_encoding $current_diff_path $enc
reshow_diff
Expand Down
2 changes: 1 addition & 1 deletion git-gui/lib/mergetool.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ proc read_merge_stages {fd cont} {
set fcols [split $p "\t"]
set cols [split [lindex $fcols 0] " "]
set stage [lindex $cols 2]

set merge_stages($stage) [lrange $cols 0 1]
}

Expand Down
2 changes: 1 addition & 1 deletion git-gui/lib/search.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ constructor new {i_w i_text args} {
trace add variable searchstring write [cb _incrsearch_cb]
bind $w.ent <Return> [cb find_next]
bind $w.ent <Shift-Return> [cb find_prev]

bind $w <Destroy> [list delete_this $this]
return $this
}
Expand Down
4 changes: 2 additions & 2 deletions t/lib-diff-alternative.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ index 6faa5a3..e3af329 100644
+++ b/file2
@@ -1,26 +1,25 @@
#include <stdio.h>

+int fib(int n)
+{
+ if(n > 2)
Expand All @@ -85,7 +85,7 @@ index 6faa5a3..e3af329 100644
printf("%d\n", foo);
}
}

-int fact(int n)
-{
- if(n > 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ A U Thor (2):
create mode 100644 file1
delete mode 100644 file2

--
--
g-i-t--v-e-r-s-i-o-n

From 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44 Mon Sep 17 00:00:00 2001
Expand Down Expand Up @@ -63,7 +63,7 @@ index 01e79c3..0000000
-1
-2
-3
--
--
g-i-t--v-e-r-s-i-o-n


Expand Down Expand Up @@ -97,7 +97,7 @@ index 0000000..b1e6722
+A
+B
+C
--
--
g-i-t--v-e-r-s-i-o-n

$
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ index 01e79c3..0000000
-1
-2
-3
--
--
g-i-t--v-e-r-s-i-o-n


Expand Down Expand Up @@ -75,7 +75,7 @@ index 0000000..b1e6722
+A
+B
+C
--
--
g-i-t--v-e-r-s-i-o-n


Expand Down Expand Up @@ -121,7 +121,7 @@ index 0000000..7289e35
+B
+1
+2
--
--
g-i-t--v-e-r-s-i-o-n

$
6 changes: 3 additions & 3 deletions t/t4013/diff.format-patch_--stdout_--numbered_initial..master
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ index 01e79c3..0000000
-1
-2
-3
--
--
g-i-t--v-e-r-s-i-o-n


Expand Down Expand Up @@ -75,7 +75,7 @@ index 0000000..b1e6722
+A
+B
+C
--
--
g-i-t--v-e-r-s-i-o-n


Expand Down Expand Up @@ -121,7 +121,7 @@ index 0000000..7289e35
+B
+1
+2
--
--
g-i-t--v-e-r-s-i-o-n

$
6 changes: 3 additions & 3 deletions t/t4013/diff.format-patch_--stdout_initial..master
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ index 01e79c3..0000000
-1
-2
-3
--
--
g-i-t--v-e-r-s-i-o-n


Expand Down Expand Up @@ -75,7 +75,7 @@ index 0000000..b1e6722
+A
+B
+C
--
--
g-i-t--v-e-r-s-i-o-n


Expand Down Expand Up @@ -121,7 +121,7 @@ index 0000000..7289e35
+B
+1
+2
--
--
g-i-t--v-e-r-s-i-o-n

$
4 changes: 2 additions & 2 deletions t/t4013/diff.format-patch_--stdout_initial..master^
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ index 01e79c3..0000000
-1
-2
-3
--
--
g-i-t--v-e-r-s-i-o-n


Expand Down Expand Up @@ -75,7 +75,7 @@ index 0000000..b1e6722
+A
+B
+C
--
--
g-i-t--v-e-r-s-i-o-n

$
2 changes: 1 addition & 1 deletion t/t4013/diff.format-patch_--stdout_initial..side
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ index 0000000..7289e35
+B
+1
+2
--
--
g-i-t--v-e-r-s-i-o-n

$
2 changes: 1 addition & 1 deletion t/t4013/diff.log_--decorate=full_--all
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.

commit 444ac553ac7612cc88969031b02b3767fb8a353a (refs/heads/initial)
Expand Down
2 changes: 1 addition & 1 deletion t/t4013/diff.log_--decorate_--all
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.

commit 444ac553ac7612cc88969031b02b3767fb8a353a (initial)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.
---
dir/sub | 2 ++
Expand Down
2 changes: 1 addition & 1 deletion t/t4013/diff.log_--patch-with-stat_master
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.
---
dir/sub | 2 ++
Expand Down
2 changes: 1 addition & 1 deletion t/t4013/diff.log_--patch-with-stat_master_--_dir_
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.
---
dir/sub | 2 ++
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.
---
dir/sub | 2 ++
Expand Down
2 changes: 1 addition & 1 deletion t/t4013/diff.log_--root_--patch-with-stat_--summary_master
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.
---
dir/sub | 2 ++
Expand Down
2 changes: 1 addition & 1 deletion t/t4013/diff.log_--root_--patch-with-stat_master
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.
---
dir/sub | 2 ++
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.
---
dir/sub | 2 ++
Expand Down
2 changes: 1 addition & 1 deletion t/t4013/diff.log_--root_-p_master
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.

diff --git a/dir/sub b/dir/sub
Expand Down
2 changes: 1 addition & 1 deletion t/t4013/diff.log_--root_master
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.

commit 444ac553ac7612cc88969031b02b3767fb8a353a
Expand Down
2 changes: 1 addition & 1 deletion t/t4013/diff.log_-m_-p_--first-parent_master
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.

diff --git a/dir/sub b/dir/sub
Expand Down
2 changes: 1 addition & 1 deletion t/t4013/diff.log_-m_-p_master
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.

diff --git a/dir/sub b/dir/sub
Expand Down
2 changes: 1 addition & 1 deletion t/t4013/diff.log_-p_--first-parent_master
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.

diff --git a/dir/sub b/dir/sub
Expand Down
2 changes: 1 addition & 1 deletion t/t4013/diff.log_-p_master
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.

diff --git a/dir/sub b/dir/sub
Expand Down
2 changes: 1 addition & 1 deletion t/t4013/diff.log_master
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.

commit 444ac553ac7612cc88969031b02b3767fb8a353a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.
---
dir/sub | 2 ++
Expand Down
2 changes: 1 addition & 1 deletion t/t4013/diff.whatchanged_--patch-with-stat_master
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.
---
dir/sub | 2 ++
Expand Down
2 changes: 1 addition & 1 deletion t/t4013/diff.whatchanged_--patch-with-stat_master_--_dir_
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.
---
dir/sub | 2 ++
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.
---
dir/sub | 2 ++
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Author: A U Thor <[email protected]>
Date: Mon Jun 26 00:01:00 2006 +0000

Second

This is the second commit.
---
dir/sub | 2 ++
Expand Down
Loading