diff --git a/README.edited.md b/README.edited.md new file mode 100644 index 0000000..d71f031 --- /dev/null +++ b/README.edited.md @@ -0,0 +1,10 @@ +# diff + +This repo contains a few commits that enumerate many of the possible scenarios related to diffing: +- adding a file +- removing a file +- modifing a file +- renaming a file +- renaming a file and modifying it +- copying a file +- copying a file and modifying it diff --git a/README.unedited.md b/README.unedited.md new file mode 100644 index 0000000..b74e73f --- /dev/null +++ b/README.unedited.md @@ -0,0 +1,9 @@ +# diff + +This repo contains a few commits that enumerate many of the possible scenarios related to diffing: +- adding a file +- removing a file +- modifing a file +- renaming a file +- renaming a file and modifying it +- copying a file diff --git a/copied_to.go b/copied_to.go new file mode 100644 index 0000000..e732d6c --- /dev/null +++ b/copied_to.go @@ -0,0 +1,5 @@ +package main + +func copiedTo() { + +} diff --git a/deleted.go b/deleted.go deleted file mode 100644 index 9e6f2f9..0000000 --- a/deleted.go +++ /dev/null @@ -1,5 +0,0 @@ -package main - -func deleted() { - -} diff --git a/modified.go b/modified.go index 47ceba6..2823466 100644 --- a/modified.go +++ b/modified.go @@ -3,5 +3,5 @@ package main import "fmt" func modified() { - fmt.Println("before") + fmt.Println("after") } diff --git a/renamed_from_modified.go b/renamed_to_modified.go similarity index 71% rename from renamed_from_modified.go rename to renamed_to_modified.go index fc40cb6..16d90b0 100644 --- a/renamed_from_modified.go +++ b/renamed_to_modified.go @@ -3,5 +3,5 @@ package main import "fmt" func renamedAndModified() { - fmt.Println("before") + fmt.Println("after") } diff --git a/renamed_from_not_modified.go b/renamed_to_not_modified.go similarity index 100% rename from renamed_from_not_modified.go rename to renamed_to_not_modified.go