diff --git a/levels/index-add/congrats b/levels/index-add/congrats index bc6af39..2a8259e 100644 --- a/levels/index-add/congrats +++ b/levels/index-add/congrats @@ -5,3 +5,5 @@ There's another way to add an entry to the index directly: The first three numbers of the mode describe the type of the entry, "100" is a regular file. The second three number describe the permissions. Only "644" (non-executable) and "755" (executable) are supported. + +You can insert the hash of an object into the terminal by right-clicking on it! :) diff --git a/levels/tree-read/description b/levels/tree-read/description index f1764a7..49b2e0f 100644 --- a/levels/tree-read/description +++ b/levels/tree-read/description @@ -2,4 +2,6 @@ As soon as you have some tree objects, you can always read them and set the inde git read-tree +For , you can provide the hash of any tree object - you can right-click one to insert its hash into the terminal! + Try reading some of the trees in this repository into the index! diff --git a/main.tscn b/main.tscn index 9f20298..d2a21fb 100644 --- a/main.tscn +++ b/main.tscn @@ -140,7 +140,7 @@ margin_bottom = 605.0 custom_fonts/normal_font = ExtResource( 5 ) bbcode_enabled = true bbcode_text = "Level description here!" -text = "Level congrats here!" +text = "Level description here!" __meta__ = { "_edit_use_anchors_": false } diff --git a/repository.gd b/repository.gd index f79c83a..3941f03 100644 --- a/repository.gd +++ b/repository.gd @@ -26,13 +26,14 @@ func _input(event): $Nodes.rect_scale += Vector2(0.05, 0.05) func update_everything(): - $Index.text = "" if shell.run("test -d .git && echo yes || echo no") == "yes\n": update_head() update_refs() update_index() update_objects() remove_gone_stuff() + else: + $Index.text = "" func set_path(new_path): path = new_path